[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] setting up a cronjob for running a php file
- Subject: Re: [cobalt-users] setting up a cronjob for running a php file
- From: "R. Hamburg \(hava.nl\)" <user@xxxxxxx>
- Date: Fri Feb 15 03:49:36 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I want/ need to run the script every 5 minutes.
>
> Your cron entry is setup correctly for that.
>
> > This is how I set it up in the crontab:
> >
> > 0,5,10,15,20,25,30,35,40,45,50,55 * * * *
> > /home/sites/www.domain.com/web/netstatus/cron_script/cron_script.php
>
> I assume the 2 lines above are actually on a single line in your crontab
> file. If not, they should be.
Hi steve,
Yes the above is one line indeed.
Setting up the crontab like this:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * lynx -dump
http://www.domain.com/netstatus/cron_script/cron_script.php
Is resulting in the following error on the cobalt..
/bin/sh: /home/sites/www.domain.com/web/netstatus/cron_script: is a
directory
Doesn't make sense to me....
Robbert