Hi I am using a plugin to view the cron jobs that are run by wordpress. I am noticing that there are jobs related to plugins I have deactivated and even deleted. Why is this so and how can I remove them?
Leave a Reply
You must be logged in to post a comment.
This might be because the plugins you were using didnt deregister the crons it setup. To remove the crons use the following code in your functions file:
Once thats run once you can safely remove it
You are seeing jobs that are related to plugins that were deactivated because its a badly coded plugin which should have cleared the scheduled job when it was deactivated,
any way you can uncshedule them using
wp_unschedule_event
.