Script Schedules

Updated Jul 21, 2026
DataMagik Automate

Script Schedules

Run scripts automatically on a recurring schedule — daily reports, periodic syncs, overnight jobs.

Open Script Engine → Script Schedules. Each schedule pairs a script with a cron expression that decides when it runs.

Creating a script schedule with a cron expression
The Create Schedule form, with a live preview of the next five runs.

Creating a schedule

  1. Click Create Schedule.
  2. Schedule Name — a name you'll recognize in the list.
  3. Script Template — the script this schedule runs.
  4. Description — optional note about what the schedule does.
  5. Cron Expression — when to run. The Next 5 runs preview updates as you type so you can confirm the timing.
  6. Timezone — the timezone the cron expression is evaluated in.
  7. Timeout and Max Retries — how long a single run may take, and how many times to retry on failure.
  8. Enable schedule immediately — start running now, or leave it unchecked and enable it later.
  9. Click Create Schedule.

Managing schedules

From the schedules list you can Run a schedule now, view its History, Cancel a queued run, Edit it, toggle it on or off with the Status switch, or delete it. Use the search box and the Script and Status filters to narrow the list.

Common cron patterns

ExpressionRuns
*/15 * * * *Every 15 minutes
0 9 * * MON-FRI9:00 AM on weekdays
0 */2 * * *Every 2 hours
0 0 1 * *Midnight on the 1st of each month
0 6,18 * * *6:00 AM and 6:00 PM daily

Tip: Always check the Next 5 runs preview before saving — it's the quickest way to catch a cron expression that doesn't run when you expect.

Next steps

Was this page helpful?