Re: can't add cron job
On Tue, Apr 15, 2003 at 10:41:53PM -0700, Mark Ferlatte wrote:
> Roberto Sanchez said on Tue, Apr 15, 2003 at 10:42:13PM -0400:
> > This is the cron job I just added for ipcheck. It is located in
> > /etc/cron.d/ipcheck
> > # Run ipcheck every 2 minutes
> > */2 * * * * python ipcheck.py -l -r checkip.dyndns.org:8245
> > <username> <password> <hostname>
> > The job is not running, though. I even executed '/etc/init.d/cron restart'
> > to restart cron, but it did not help. When I log into dyndns.org and
> > lookup the IP address in the database for my host, it still show an out of
> > date IP address. Am I missing something here?
I think you should change */2 to 0-59/2, or how can the crond know
whether it is 1 3 5 or 2 4 6?
Simple is Beautiful.