Hello all,

Quick one for you....

I need help with cron on Mandrake 7.0

I want to schedule a script, using cron, that will run every Saturday at
11:59pm.

Now on Solaris I would do it like this

59 23 * * 6 /my/script.sh > /dev/null

59 = minute
23 = hour
* = day of the month
* = month of the year
6 = day of the week


However, my search for cron help on Linux brought me here.....

http://linuxdoc.org/LDP/lame/LAME/linux-admin-made-easy/using-cron.html

Here the format is as follows:  minute hour day month year command

Following this format how do I tell it to happen only on Saturday at
11:59pm.


While I'm asking, how about this /etc/cron.daily, hourly, monthly, weekly ?
The doc says just to drop your script in one of these directories and it
will be run.  When ?  hourly, I can guess; but daily, monthly weekly.  I
mean will something in /etc/cron.weekly run the first second of each new
week starting on Sunday ?

Help me,

Duke


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to