Are you sure ?
SELECT * FROM ir_cron WHERE id=%s FOR UPDATE NOWAIT
raises an exception if an other worker or thread has already a lock on the job.
Are you sure ?
SELECT * FROM ir_cron WHERE id=%s FOR UPDATE NOWAIT
raises an exception if an other worker or thread has already a lock on the job.