[wellylug] cron usage

E.Chalaron e.chalaron at xtra.co.nz
Fri May 21 09:47:57 NZST 2004


> Did you chmod 755 /etc/cron.daily/script1_call?

Yep, I did indeed !
now after further investigation, I have another script "clamup" calling a 
clam antivirus upgrade and it works.
Only difference is :

[root at wairarapa cron.daily]# more clamup
#!/bin/bash
/usr/local/bin/freshclam --quiet -l /var/log/clamav/clam-update.log

[root at wairarapa cron.daily]# more document_parser
#!/bin/bash
/usr/bin/docfilestohtml

One is in /usr/local/bin the other in /usr/bin

Crontab shows :

[root at wairarapa cron.daily]# more ../crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=edouard
HOME=/

Does the path interfer ????? should it be ?

root at wairarapa cron.daily]# more document_parser
#!/bin/bash
docfilestohtml
Thanks
Edouard




More information about the wellylug mailing list