• Hi,

    When I go to Tools > Scheduled Actions I see some cron jobs in Failed:

    1a. Will they be rescheduled and be completed the next time, or will they be rescheduled and go to Failed again, or will it not be rescheduled?

    1b. Do you recommend I delete Crons in Failed?

    When I go to Tools > Scheduled Actions I see many in Complete:

    2a. It doesn’t look like they delete themselves from complete. Do you recommend the completed crons are deleted?

    2b. What is the best way to delete crons (if there are loads of them)?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1a. Failed Cron Jobs: Typically, failed cron jobs are not automatically rescheduled in WordPress. Whether they will be retried or not depends on how the specific task or plugin is programmed. Some plugins might attempt to reschedule, but this isn’t a standard WordPress behavior.

    1b. Deleting Failed Crons: It’s generally safe to delete failed cron jobs, especially if they’re not critical. However, it’s important to understand why they failed. If it’s a recurring issue, deleting them won’t solve the underlying problem.

    2a. Completed Cron Jobs: In most cases, completed cron jobs don’t need to be manually deleted as they’re just records of actions that have been completed. They don’t typically impact site performance. However, if you feel your database is getting cluttered, you can consider cleaning them up.

    2b. Deleting Multiple Crons: For bulk deletion, you can use a plugin like “WP Crontrol” or a database management tool. WP Crontrol provides an easier interface to manage cron jobs directly from your WordPress dashboard, including deleting them in bulk.

    hope this helps

    Thread Starter rt98506

    (@rt98506)

    Hi,

    Thank you for your reply.

    Regarding your answer to 1a, if the cron is scheduled to run every Tuesday at 10:00 am, and it fails, the same cron will still be scheduled to run a week later at 10:00 am. Is this correct?

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I have some questions about Cron Jobs’ is closed to new replies.