Re: Help with cron job
| From: | Chris Murley | Date: | Wed, 23 Aug 2000 16:34:18 +0000 |
| Subject: | Re: Help with cron job | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13185@lists.php.net to get a copy of this message | ||
should be....
* */3 * * * root /usr/local/bin/wget -o /dev/null -O - http://mysite.com/look_csv.wow > /dev/null
you didnt havw a user that is should be running as...
Good luck.
Chris
On Wed, 23 Aug 2000, Adrian Teasdale wrote:
> Hi all
>
> I have become a little unstuck trying to use cron to run a PHP script on a
> regular basis.
>
> A programmer I know did the script for me and I haven't a clue how to change
> it to what I want. Basically I am looking for a job which will run every
> three hours. The programmer did the following:
>
> * */3 * * * /usr/local/bin/wget -o /dev/null -O -
> http://mysite.com/look_csv.wow > /dev/null
>
> and my email tells me that this script is running more than once a minute :)
> I seem to have quite a lot of emails coming in from the confirmation that
> this script generates!
>
> Any help would be appreciated here as to what I've got to change to get this
> right
>
> Thanks
>
>
> ade
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>