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

Re: [CONFUSED NEWBIE] Cron



On Fri, 2004-11-05 at 12:54 -0700, Justin Guerin wrote:
> > 0 0 * * * root /usr/lib/cgi-bin/send_hit_count.cgi
> >
> Oops.  Check out the man page for cron and especially crontab(5).
> 
> > 1. send_hit_count.cgi apparently is not being executed. It works
> > interactively, but there are no messages that would indicate that it
> > was executed by cron. What do I need to do, in order to have cron
> > execute send_hit_count.cgi?
> >
> Fix your crontab entry above to:
> 0 0 * * * /usr/lib/cgi-bin/send_hit_count.cgi
That depends on whether it is a user crontab (crontab -e etc.), 
or a system crontab (/etc/crontab).
For the latter, the original entry seems correct, maybe missing a
newline at the end.
-aab



Reply to: