I have a function that I want to execute through cron. If I simply hit the url www.example.com/TestProjects/codeigniter/controller/function
This function executes fine, if I set it on cron does not work.
I tried setting this as
public_html/TestProjects/codeigniter/controller/function
and this through such error message
public_html/TestProjects/codeigniter/controller/function: Not a directory
Can anyone help me how to set this on cron?
** hi dude try this **
curl http://nztdemo.com/TestProjects/ERP/cron/index
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With