I used to have a crontab that ran like this
* * * * * /usr/bin/php /var/www/vhosts/default/htdocs/agent/time_keeper.php > /dev/null 2>&1
It worked fine. Now I moved that php script to a new directory and I now have the cron run like this
* * * * * /usr/bin/php /var/www/vhosts/default/htdocs/agent/php/time_keeper.php > /dev/null 2>&1
The new cron does not work. The file is there. I can run it fine from my browser. When I move the file back to its first directory and use the old cron, it works.
What is going on here?