[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [raq2] Any crontab experts?
- Subject: Re: [cobalt-users] [raq2] Any crontab experts?
- From: Frank Smith <frank@xxxxxxxxxx>
- Date: Mon Jan 31 10:14:49 2000
Did you perhaps use 1,31 8-23 0-2 * * * instead (missing the second comma)?
That will tell it to run on the 0-2 of the month, and 0 isn't a valid value
for that field.
Also to get it to run BETWEEN 8am-11pm, you need:
1,31 8-22 * * * /path/to/command
That way the last run of the day will be 10:31pm
Good luck,
Frank
--On Saturday, January 29, 2000 9:10 PM -0600 Tony <isplists@xxxxxxxxxxxx>
wrote:
I have a mental block with cron.
What time values & format would I need to put in a crontab file to execute
this command every 30 minutes between the hours
of 8am and 11pm every day of the month?
perl -w /home/sites/siteX/cgi-bin/script.pl >
/home/sites/siteX/web/news/news.html
I had this: 1,31 8-23,0-2 * * * but it gave me a bad day-of-month error.
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Frank Smith fsmith@xxxxxxxxxxx
Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501