[wellylug] cron usage

E.Chalaron e.chalaron at xtra.co.nz
Mon May 24 09:23:37 NZST 2004


Hi Tim

> Still, it looks like it is running the correct scripts, which means that
> the script it's self is probably at fault. (but 'the script' I mean
> /etc/cron.daily/htdig-dbgen)

Well it is provided by the rpm and it is one line only. I guess they got it 
Ok... 
PATH is definitely the trouble maker. I did put my scripts into 
/usr/local/bin they obviously run but :

* there must be some chown issues.
Whos is running a script from a crontab ? is it the user cron or root ?

I think I should use :
#!/bin/bash
su - /usr/local/bin/doc_parser
Is this a proper syntax ?

Now in /etc/cron.daily what is the order of execution ? by time stamp, by 
alphabetical order ?

> Can you post the script, or email it to me direcrly?

I will post it to you..
Cheers and thanks again
Edouard




More information about the wellylug mailing list