I don't understand why cron is not really executing the command every 10 minutes.
in crontab -e
I have added:
*/10 * * * * /var/www/myproject/recording/batch.pl
I could see in the cron log it is running every 10 mins:
Mar 17 10:50:01 host crond[26335]: (root) CMD (/var/www/myproject/recording/batch.pl)
Mar 17 11:00:01 host crond[26357]: (root) CMD (/var/www/myproject/recording/batch.pl)
Mar 17 11:10:01 host crond[26418]: (root) CMD (/var/www/myproject/recording/batch.pl)
Mar 17 11:20:01 host crond[26657]: (root) CMD (/var/www/myproject/recording/batch.pl)
but it is not really executing the command.
When I execute that command manually in the Linux console it is working fine.