[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ4>openwebmail and cron for calendar notify



On Monday, January 6, 2003, at 12:39  PM, Chris wrote:
errors in crontab file, can`t install.
"mycron":2: bad day-of-month

And this is the code in file "mycron:"
0 */2 * * *
     /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl -a -n -q

Why doesn't this function?

From how I read the crontab man page ("man 5 crontab") the / modifier only works on a specified range of values, not a wildcard like *. Try this:

0 0-23/2 * * *

for the schedule part, and see how that works.

pjm