I have a Python script running every four hours. This is the crontab line:
* */4 * * * pi python /var/www/scripts/testProg.py >> /var/log/testProg.log
In the /var/log/testProg.log
file I can see the following entry over and over again:
Error 1205: Lock wait timeout exceeded; try restarting transaction
My script does do some MySQL related things. Is this because the DB is locked by another process?