Re: PHP in crontab job
| From: | Marek Kilimajer | Date: | Fri, 11 Oct 2002 15:36:08 +0000 |
| Subject: | Re: PHP in crontab job | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119657@lists.php.net to get a copy of this message | ||
try using full path in your cron job, like
* * * * * /usr/local/bin/php /path/to/your/cron.php
Sharat Hegde wrote:
Hello, I am having a problem at my ISP relating to execution of PHP commands from the crontab command. My ISP told me to have a look at the following URL, but despite following these instructions, the crontab job is not being executed. http://www.htmlcenter.com/tutorials/tutorials.cfm/155/PHP/ The crontab command line works from the shell prompt and I am able to execute the php command from the command line as well as the lynx command - no problems with that. Any ideas on how to get the crontab to execute the PHP commands? Regards, Sharat _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com