LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cron issue, php script runs fine in browser and cli (https://www.linuxquestions.org/questions/linux-software-2/cron-issue-php-script-runs-fine-in-browser-and-cli-343318/)

dtra 07-14-2005 11:34 PM

cron issue, php script runs fine in browser and cli
 
hi all

nm, i wasn't using absolute addresses in the includes part

using fc3

i'm just having an issue running a php script in the cronjobs

*/3 * * * * /bin/nice -n 19 /usr/bin/php /home/www/site.com/httpdocs/cron/lset-all-online-cron.php > /dev/null &

the script works fine when run from a browser or the command line
but set as a cronjob it never runs
i have tried copying the exact text from the crontab and pasting it on the command line and it runs fine

i have 3 or 4 other php scripts that are being run as crons
and they all run fine
with very similar timeing intervals

is there a limit to how many scripts i can run or something?
this particular script is definitely not running

thanks
dave

Nathanael 07-15-2005 05:45 AM

perhaps nice is located in /usr/bin and not /bin??


All times are GMT -5. The time now is 08:58 AM.