Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57271, comment 25


Ignore:
Timestamp:
03/15/2023 06:08:07 PM (2 years ago)
Author:
j3gaming
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57271, comment 25

    initial v1  
    11Replying to [comment:24 galbaras]:
    22
    3 Does this logic re-fire a cron? This gets into a tricky situation where you're actually re-running a cron because of a database issue, but what if the cron is doing non-database related things, processing data or emailing people for example?
     3Does this logic re-fire a cron? This gets into a tricky situation where you're actually re-running a cron because of a database issue, but what if the cron is doing non-database related things, processing data or emailing people for example? You may not want the cron to be re-trying to fire for the next hour. Also, what if the cron is what's causing the connection issues.
    44
    55Need to either be able to pick up from exactly where you left off, or if a cron hit a connection error, I wouldn't schedule it to try again asap. Just wait until it's regularly scheduled next. Or, maybe a user defined option for if a cron should retry if you get a database error.