[nycbug-talk] php scripts from crontab

Matthew Terenzio matt at jobsforge.com
Mon Oct 30 22:30:20 EST 2006


Thanks all. It's working great.

On Oct 30, 2006, at 10:26 PM, Dan Langille wrote:

> On 30 Oct 2006 at 20:00, Matthew Terenzio wrote:
>
>>
>> Anyone have any experience running PHP scripts from /etc/crontab
>>
>> The cron log  shows it's happening but it seems like it's shooting
>> blanks.
>>
>> The same command works perfectly when I just run it manually from the
>> command line.
>>
>> php /path/to/script/cron.php
>
> Make sure you hit enter at the end of the line in your crontab.
>
> If you doubt it's running, check /var/log/cron and/or put a && touch
> /my/file in there/
>
> -- 
> Dan Langille : Software Developer looking for work
> my resume: http://www.freebsddiary.org/dan_langille.php
>
>
>




More information about the talk mailing list