I'm with a trouble in my webhost. I have a CodeIgniter php-cli Script that is running on the SSH Terminal but when I put it in Crontab does not run, gives me several errors. The most weird thing is that this php-cli Script have been running by months.
What could be the problem and how can I start 开发者_开发百科to solve it?
Restart the php-cli deamon should be a start?
Best Regards,
If you are using v2.0.0 then you will need to make sure you set the current working directory of the crontab to the level of your index.php.
Or, upgrade to v2.0.1 which will do this for you.
Remember that when you get error messages you should post them in your question, otherwise answers end up just being guesswork.
精彩评论