[Fwd: [ph-linux-newbie] help on cron]

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




--- Begin Message ---
id like to execute a php file automatically during certain periods of
time so what i did i installed php-cgi (which allows me to execute php
using cmd php <php file>).  Ive finished my php script, tried it and it
worked but when i put it in crontab
* * * * * php /usr/local/apache/htdocs/xxx.php
it didnt work ... it didnt spew any errors ... just did nothing
in order to verify if cron is working properly i added a new entry
* * * * * rm /home/postgres/test.txt
when i inspected the results ... 2nd script worked (rm) but not the php
script
any ideas whats wrong?  
path of script is ok and path is working when i execute it in command
line
TIA
joseph



_______________________________________________
ph-linux-newbie mailing list
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
plug website http://plug.linux.org.ph
to unsubscribe, send 'unsubscribe' to ph-linux-newbie-request@xxxxxxxxxxxxxxxxx

--- End Message ---

[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux