I have a cron that checks if there are pending mails to be sent each minute:
*/1 * * * * /usr/bin/curl http://localhost/path/application.php >> /var/log/application.log
This script is working for years without problems. Yesterday I added a
echo in the first line of the
application.php file and got this log:
10:34:05 Launching application... 10:34:17 Launching application... 10:34:44 Launching application... 10:35:07 Launching application... 10:35:18 Launching application... 10:35:43 Launching application... 10:35:58 Launching application... ....
It is, the script is launched 3/4 times each minute.
My root crontab only contains the above line and the crontab of the unique user I'm using is empty. No other computer can access to my
localhost server (I have double checked that it is isolated).
In order to check that the problem is the root cron I've commented the unique crontab line and, surprise! a similar log is generated.
So the question is: what's happening? is there any cron log or similar?