If your WordPress admin panel is slowing down or you're troubleshooting cron jobs, you may need to clear scheduled action logs. These logs are stored by the Action Scheduler — a tool used by plugins like WooCommerce, MailPoet, and others to handle scheduled tasks.
Over time, these logs can grow large and affect your website’s performance — especially on shared hosting environments like those offered by GOZEN Host.
If you’re using WooCommerce or another plugin that uses Action Scheduler:
Tools → Scheduled Actions
(only visible if Action Scheduler is active).You can sort by oldest actions and decide which ones to clear.
💡 Quick Tip:
It’s safe to delete completed and failed actions. Pending and in-progress tasks should be left alone unless you're sure they’re broken.
If you have SSH access (on a VPS or managed plan with GOZEN Host):
wp action-scheduler clean
This command will remove old logs automatically. It’s fast and ideal for large sites.
❗Important:
Be careful using WP-CLI on production sites without backups. Always test first on staging if possible.
If you’re comfortable working with databases, you can remove old action logs directly using phpMyAdmin from your cPanel:
wp_actionscheduler_actions
wp_actionscheduler_logs
(Note: Your table prefix may vary — it’s often wp_ by default.)
DELETE FROM wp_actionscheduler_actions WHERE status = 'complete';
DELETE FROM wp_actionscheduler_logs WHERE action_id NOT IN (SELECT action_id FROM wp_actionscheduler_actions);
💡 Tip:
Always back up your database before running direct SQL queries.
Keeping your scheduled actions tidy helps ensure your WordPress site runs efficiently. If you notice persistent failed tasks, it might indicate a deeper plugin or server issue — feel free to open a support ticket so our team can investigate.
Back to WordPress