Cron not runing using php |
[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!
[eluser]NotDior[/eluser]
If your site is using cPanel you need to call a different PHP. /usr/local/bin/php |
Welcome Guest, Not a member yet? Register Sign In |