Re: php script run by cron job

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

 



On Fri, 01 Oct 2004 08:18:55 +0200, Merlin <news.groups@xxxxxx> wrote:
> Here is the how I did it:
> 14 8 * * *      root  /usr/local/bin/php /home/www/cron/statistics.php
> 
> Does anybody see an error in this?
> 

I'm not familiar with a crontab format that allows you to specify a
username as you have there.  If you'd like the process to run as root,
login as root, do a crontab -e, and paste this in there:

14 8 * * * /usr/local/bin/php /home/www/cron/statistics.php

see if that works for you.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux