Cron Job Troubles
Cron Job Troubles
Sometimes one CRON Job may work fine and the other will not even though both are similar. One of the first things to check if your CRON Jobs are not working is this:
1. Relative paths. Make sure that you do not have scripts with just "../myscript.php" but instead the full path to the file.
2. Of course, make sure the name and directory are correct. If you are using Cpanel then ensure your Email is designated for errors, that way if it does not work you are notified. You can also check the CRON logs via shell.
One of the reasons I bring this up is because sometimes a CRON Job will work fine from your browser and not from the Job itself even though it is being logged as executed.
Here is a typical CRON Job:
NOTE to self: Solved problem with Turn Based RPG jobs.