[ale] crontab question

Robert Story rstory at freesnmp.com
Thu Jan 2 15:31:08 EST 2003


On Thu, 2 Jan 2003 15:20:44 -0500 Armsby John-G16665 <John.Armsby at motorola.com>
wrote:
AJG> I am on redhat 8.0.  I want to run a script every other hour.  Since this
AJG> was a new install, I simply copied the format of an HPUX cron.
AJG> 
AJG> The cron does not run.  Is my syntax bad??
AJG> 
AJG> # DO NOT EDIT THIS FILE - edit the master and reinstall.
AJG> # (/tmp/crontab.5548 installed on Thu Dec 26 11:40:49 2002)
AJG> # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)

AJG> 1,3,5,7,9,11,13,15,17,19,21 * * * /home/dc/bin/getFiles.scr

You need one more * for the day of the week...  I put these comments in all my
crontabs to help me remember

# minute        0-59
# hour          0-23
# day of month  1-31
# month         1-13
# day of week   0-7


-- 
Robert Story; NET-SNMP Junkie, NET-POLICY Flunkie
<irc://irc.openprojects.net/#net-snmp>   <http://www.net-snmp.org/>
<irc://irc.openprojects.net/#net-policy> <http://net-policy.sourceforge.net/>

You are lost in a twisty maze of little standards, all different. 
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list