how can i check cron tab log |
[eluser]weboap[/eluser]
what i have done before and worked for me is : created the the controller thats supposed to do some job i take your example : http://test.com/controller/method then in the cron job you will have to reference it by its real path eg : /home/~username/public_html/application/controllers/controller/method that will give : Code: php -q /home/~username/public_html/application/controllers/controller/method 2>&1 >> /var/log/your_log.log and it's important that the cron job run as the user owner of the file. hope it help. |
Messages In This Thread |
how can i check cron tab log - by El Forum - 05-10-2012, 10:38 PM
how can i check cron tab log - by El Forum - 05-11-2012, 01:14 AM
how can i check cron tab log - by El Forum - 05-14-2012, 08:19 PM
how can i check cron tab log - by El Forum - 05-14-2012, 08:45 PM
how can i check cron tab log - by El Forum - 05-17-2012, 06:49 PM
how can i check cron tab log - by El Forum - 05-17-2012, 06:58 PM
|