2
I’m using the Crontab to run a PHP script every 10 minutes the problem is that the processes are running on the server, that is to say every 10 minutes I have another process running.
crontab -e
*/5 * * * * /usr/bin/php /path/to/test/test.php
The Crontab doesn’t kill the processes after they’re done? Or do I have to do something in the PHP script to finish the process?
It’s just an insert in the Mysql BD script...
– Jorge B.
You are running every 5 minutes. Have you checked whether the process is running in the database ? Gives the impression that your routine is running and every 5 new minutes enters another connection, check in the database or increase the run time.
– rcaratchuk