Scheduled Tasks (Cron Jobs)

Schedules lets you run tasks automatically. A scheduled task (also called a cron job) requests a web address on your website at the times you choose, which triggers a script to run.

Viewing scheduled tasks

Click Schedules in the Website section of the sidebar to see all scheduled tasks on your account.

Nexus Control Panel Scheduled Tasks table with ID, Name, Active, Date Created, URL, Month, Day, Week Day, Hour and Last Ran columns
The Scheduled Tasks list
ColumnMeaning
ActionOptions to edit or remove the task.
IDThe task's unique number.
NameThe name you gave the task.
ActiveWhether the task is switched on.
Date CreatedWhen the task was created.
URLThe web address the task requests.
Month / Day / Week Day / HourWhen the task runs. "Any" means every month, day or hour.
Last RanWhen the task last ran. Check this to confirm a task is working.

Creating a new schedule

  1. Click + New Schedule at the top right of the Scheduled Tasks card.
  2. Enter a Schedule Name that describes the task, e.g. WordPress cron.
  3. Enter the Request URL, the full address of the script to run, starting with https:// once you have an SSL certificate.
  4. Leave Active ticked to switch the task on. Untick it to save the task without running it.
  5. Under Schedule Timing, choose when it runs:
    • Month – Any Month, or a specific month.
    • Day of Month – Any Day of Month, or a date from 1 to 31.
    • Day of Week – Any Week Day, or a specific day such as Monday.
    • Hour – Any Hour (every hour), or a specific hour from 0 (midnight) to 23 (11 pm).
  6. Click Save Schedule.
Nexus Control Panel Create New Schedule form with Schedule Name, Request URL, Active and Schedule Timing dropdowns
Creating a new scheduled task

Practical examples

TaskRequest URLTiming
WordPress scheduled posts, emails and plugin jobshttps://example.com/wp-cron.phpAny Month, Any Day, Any Week Day, Any Hour (hourly)
Nightly stock or product synchttps://example.com/sync/products.phpAny Month, Any Day, Any Week Day, Hour 2 (2 am)
Weekly sales report emailhttps://example.com/reports/weekly.phpAny Month, Any Day, Monday, Hour 7 (7 am)
Monthly clean-up of old recordshttps://example.com/tasks/cleanup.phpAny Month, Day 1, Any Week Day, Hour 3
WordPress tip: by default WordPress runs wp-cron.php when someone visits your site, which can be unreliable on quiet sites and slow on busy ones. Ask your developer to add define('DISABLE_WP_CRON', true); to wp-config.php and create an hourly schedule for wp-cron.php instead.
Keep task URLs private. Anyone who knows a task's URL can trigger it. Use hard-to-guess file names or a secret key in the URL (e.g. ?key=...) for scripts that change data or send emails.