[wellylug] cron usage
E.Chalaron
e.chalaron at xtra.co.nz
Fri May 21 09:11:32 NZST 2004
Hi there
It seems I have a trouble running a cron.daily directory. Probably straight
forward for someone used to use this
Let's call a couple od script in a very simple way... to start with :-)
In /etc/cron.daily I put :
script1_call
which contains :
#!/bin/bash
/usr/bin/script1
I made sure that :
crond is running
script is calling script2
script1 and script2 are root:root 755 in /usr/bin
--> Nothing happened despite I restarted crond yesterday.
I had a look in /var/spool/cron -> nothing
Should I use
#!/bin/bash
su - /usr/bin/script1
or chang something in
# run-parts
02 4 * * * root nice -n 19 run-parts /etc/cron.daily
Anything I can do to log the in(activity) of crond ?
Or did I miss something ? I guess it is very likely to be a right issue than
anything else but I am getting confused about it.
Thanks a lot
Edouard
lost as usual
More information about the wellylug
mailing list