On Fri, 2010-05-07 at 08:10 +0000, rodriguezromain62 wrote:
> In my crontab I have : */2 * * * * php5 /var/.../SaveTOR.php
>
> But Its not executed, and I think its because www-data doesn't have
> permissions to use "php5".
> Any idea for allow www-data to use "php5" ?
It's generally not a great idea to rely on the PATH in programs.
Usually best to put in the full pathname in crontab, inittab, shell
scripts, anywhere where you're not 100% sure that the right program is
on your path.
I'm speculating that php5 isn't in crontab's path.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|