• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cron not runing using php

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!

If your site is using cPanel you need to call a different PHP.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.