Cron not runing using php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cron not runing using php (/showthread.php?tid=54925) |
Cron not runing using php - El Forum - 10-01-2012 [eluser]vinu[/eluser] Hello All, i have set a cron job in codeigniter. my cron works fine if i run it with http (http://mysite.com/index.php/controller/method) but i need to use it via php: php /home/username/public_html/accountinfo/index.php mycontroller mymethod it's not working for me. anybody help me please. Thank you! Cron not runing using php - El Forum - 10-02-2012 [eluser]NotDior[/eluser] If your site is using cPanel you need to call a different PHP. /usr/local/bin/php |