All Products
Search
Document Center

SchedulerX:Cron

Last Updated:Mar 11, 2026

SchedulerX uses cron expressions to define when recurring jobs run. A cron expression specifies exact timing -- every minute, every weekday at noon, or on the last Friday of each month -- so you can automate job execution on a precise schedule. Jobs can be scripts or commands.

Important
  • The Professional Edition supports second-level scheduling with cron expressions.

  • The Basic Edition does not support second-level scheduling with cron expressions. Use second_delay instead.

Cron expression format

A SchedulerX cron expression contains six required fields and one optional field:

# ┌──────────── second (0-59)
# │ ┌────────── minute (0-59)
# │ │ ┌──────── hour (0-23)
# │ │ │ ┌────── day of month (1-31)
# │ │ │ │ ┌──── month (1-12)
# │ │ │ │ │ ┌── day of week (1-7 or SUN-SAT)
# │ │ │ │ │ │ ┌ year (optional)
# │ │ │ │ │ │ │
# * * * * * ? *

Seconds Minutes Hours Day Month Week [Year]

Field definitions

FieldRequiredValuesAllowed special characters
SecondsYes0-59, - * /
MinutesYes0-59, - * /
HoursYes0-23, - * /
Day of monthYes1-31, - * ? / L W
MonthYes1-12 or JAN-DEC, - * /
Day of weekYes1-7 or SUN-SAT, - * ? L #
YearNo1970-2099, - * /

Special characters

CharacterNameDescriptionExample
*AsteriskMatches all values in the field.* * * * * ? runs every second.
?Question markNo specific value. Use in Day of month or Day of week when the other field is already set.0 0 12 ? * WED runs at 12:00 every Wednesday.
-DashSpecifies a range.0 0 9-17 * * ? runs every hour from 09:00 to 17:00.
,CommaLists multiple values.0 0 10,14,16 * * ? runs at 10:00, 14:00, and 16:00.
/SlashSpecifies increments. The value before the slash is the start; the value after is the step.0 0/5 * * * ? runs every 5 minutes starting at minute 0.
LLastLast day of the month or last occurrence of a weekday.0 0 0 L * ? runs on the last day of each month. 0 0 0 ? * 6L runs on the last Friday of each month.
WWeekdayNearest weekday to the given day of the month.0 0 0 15W * ? runs on the weekday nearest to the 15th.
#HashSpecifies the nth occurrence of a weekday in the month.0 15 10 ? * 6#3 runs at 10:15 on the third Friday of each month.
You cannot use * in both Day of month and Day of week in the same expression. If one field uses *, the other must use ?.

Common examples

Cron expressionWhen triggered
0 */1 * * * ?Every minute
0 0/3 * * * ?Every 3 minutes
0 0/5 14 * * ?Every 5 minutes from 14:00 to 14:55
0 0/5 14,18 * * ?Every 5 minutes from 14:00 to 14:55 and from 18:00 to 18:55
0 0/30 9-17 * * ?Every 30 minutes from 09:00 to 17:00
0 0-5 14 * * ?Every minute from 14:00 to 14:05
0 0 5-15 * * ?Once per hour from 05:00 to 15:00
0 0 10,14,16 * * ?At 10:00, 14:00, and 16:00
0 0 12 ? * WEDAt 12:00 every Wednesday
0 0 17 ? * TUES,THUR,SATAt 17:00 every Tuesday, Thursday, and Saturday
0 10,44 14 ? 3 WEDAt 14:10 and 14:44 every Wednesday in March
0 15 10 ? * MON-FRIAt 10:15 on weekdays (Monday through Friday)
0 0 23 L * ?At 23:00 on the last day of each month
0 15 10 L * ?At 10:15 on the last day of each month
0 15 10 ? * 6LAt 10:15 on the last Friday of each month
0 15 10 * * ? 2005At 10:15 every day in 2005
0 15 10 ? * 6L 2002-2005At 10:15 on the last Friday of each month from 2002 to 2005
0 15 10 ? * 6#3At 10:15 on the third Friday of each month

Configure a cron job in the console

To set a cron schedule for a job, configure the cron expression during job creation. For the full job creation process, see Create a job.

  1. In the Create task wizard, go to the Timing configuration step.

  2. Select cron from the Time type drop-down list.

    Cron timing configuration

  3. Enter a cron expression. To generate a cron expression with the built-in tool:

    1. Click Use the build tool.

    2. Select a time period and a time point from the drop-down lists, then click Confirm. For example, to run a job at 03:00 every day, select the corresponding options. Build tool for generating cron expressions

    3. Click Verify cron to preview the next five trigger times based on the expression. Verify cron results

  4. (Optional) In the Advanced Configuration section, configure Time offset and Time zone.

    ParameterDescription
    Time offsetThe offset between the data timestamp and the job trigger time. Retrieve this value from the context when SchedulerX runs the job.
    Time zoneThe time zone for the cron schedule. Select a country or region time zone, or a GMT offset.
  5. Click Next Step to continue the job creation wizard.