Skip to content
Configuration

Cron Management (Automation & Scheduled Tasks)

Estimated reading: 4 minutes 309 views

MovieEngine cron management automation scheduled tasks: The Cron Management system allows you to monitor, clean, and automate background tasks running in your platform. Manage cron automation and scheduled tasks to keep imports, syncs, and background jobs running on schedule, maintain performance, clean unnecessary cron jobs, and prevent database overload โ€” essential for large OTT platforms with high activity.

It helps you:

  • Maintain performance
  • Clean unnecessary cron jobs
  • Manage scheduled tasks
  • Prevent database overload

๐Ÿ‘‰ Essential for large OTT platforms with high activity

๐Ÿ“Š Overview Dashboard

At the top of the page, you can monitor cron activity in real time.

MovieEngine cron management automation scheduled tasks overview dashboard screen

๐Ÿ“ฆ Metrics

MetricDescription
Total Cron EventsTotal scheduled tasks
Action Scheduler EventsTasks handled by Action Scheduler
Pending ActionsTasks waiting to execute
Completed ActionsSuccessfully executed tasks

๐Ÿงน Cleanup Actions

This section helps you remove unnecessary cron events.

โš™๏ธ Available Actions

ActionDescription
Clean Orphaned EventsRemove broken or unused cron jobs
Clean Action SchedulerClean scheduled task queue
Limit EventsSet maximum number of stored cron events

โš ๏ธ Important

  • Marked as Destructive โ†’ cannot be undone
  • Always backup database before cleanup

๐Ÿ—„ Action Scheduler Cleanup

Used to manage database-level scheduled actions.

๐Ÿ“ฆ Cleanup Options

OptionDescription
Delete Completed ActionsRemove completed tasks
Delete Failed ActionsRemove failed tasks
Delete Actions Older Than X DaysClean old records automatically

๐Ÿ‘‰ Helps reduce database size and improve performance.

๐Ÿ“ฆ Settings

SettingDescription
Automatic CleanupEnable scheduled cleanup
Cleanup FrequencyDaily / Weekly / Monthly
Maximum Cron EventsLimit stored events
Delete Actions Older Than (Days)Auto-delete old tasks

๐Ÿ” What is WP Cron?

WordPress uses WP-Cron to run scheduled background tasks such as:

  • Sending emails
  • Processing payments
  • Updating subscriptions
  • Cleaning temporary data

๐Ÿ‘‰ Over time, these tasks accumulate and can slow down your site.

โš™๏ธ How It Works

User action / system trigger
โ†“
Cron job scheduled
โ†“
Task runs in background
โ†“
Stored in database
โ†“
Cleanup removes old/unnecessary tasks

๐ŸŽฏ Use Cases

  • Clean old transaction logs
  • Remove expired subscriptions data
  • Optimize database performance
  • Prevent cron overflow
  • Maintain system health

๐Ÿง  Best Practices

  • Enable Automatic Cleanup
  • Set the cleanup frequency to Daily or Weekly
  • Limit cron events (e.g., 500โ€“1000 max)
  • Delete actions older than 30 days
  • Regularly monitor pending actions

โš ๏ธ Important Notes

  • WP-Cron depends on site traffic (not real cron)
  • Low-traffic sites may delay execution
  • Use server cron for high-performance setups
  • Always back up before bulk cleanup

MovieEngine cron management automation scheduled tasks explained

At the top of the Cron Management page, the Overview Dashboard lets you monitor cron activity in real time, with metrics for total cron events, Action Scheduler events, pending actions, and completed actions. Cleanup Actions then help you remove unnecessary cron events: Clean Orphaned Events removes broken or unused cron jobs, Clean Action Scheduler cleans the scheduled task queue, and Limit Events sets a maximum number of stored cron events. Cleanup is marked as destructive and cannot be undone, so always back up the database before cleanup.

Action Scheduler Cleanup manages database-level scheduled actions, with options to delete completed actions, delete failed actions, and delete actions older than a set number of days, reducing database size and improving performance. Settings cover Automatic Cleanup, cleanup frequency (Daily, Weekly, or Monthly), maximum cron events, and auto-deleting old tasks. WordPress uses WP-Cron to run scheduled background tasks such as sending emails, processing payments, updating subscriptions, and cleaning temporary data, but over time these tasks accumulate and can slow down your site. WP-Cron depends on site traffic rather than real cron, so low-traffic sites may see delayed execution and high-performance setups should use server cron. As best practice, enable Automatic Cleanup, set the frequency to Daily or Weekly, limit cron events (for example 500โ€“1000 max), delete actions older than 30 days, and regularly monitor pending actions.

Frequently asked questions

What does MovieEngine Cron Management (Automation & Scheduled Tasks) cover?

This guide covers MovieEngine Cron Management (Automation & Scheduled Tasks), with steps and settings for your platform.

Where is this setting in MovieEngine?

Find it in the MovieEngine configuration area, as linked from Settings Overview and Video Player.

What should I check if it does not work?

Recheck the settings in this guide, then check the related troubleshooting and overview guides.

Related guides

Tip: For more MovieEngine guides and resources, visit the MovieEngine website.

Share this Doc

Cron Management (Automation & Scheduled Tasks)

Or copy link

CONTENTS
Back To Top