Created
June 2, 2016 11:29
-
-
Save convenient/d8aa9464e2ae03b4171056cf6e528bc3 to your computer and use it in GitHub Desktop.
Magento cron stuck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select IF(count(schedule_id) = 0, 'stuck', 'okay') as crons from cron_schedule where finished_at is not null and finished_at >= DATE_SUB(NOW(), INTERVAL 2 HOUR); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment