Scheduler

Overview

If you want a workflow or notification be triggered on a specified timeframe you can use the scheduler service.

You can also define event an event rule that would trigger on certain timeframe using the cron format.

{
  "rule_type" : "cron",
  "schedule" : "cron(0 12 * * ? *)"
  "timezone": "Asia/Jakarta",
  "start_time" : "2025-08-01T00:00:00",
  "end_time" : "2026-08-01T00:00:00",
}

Cron syntax

cron(minutes hours day-of-month month day-of-week year)
FieldValuesWildcards
Minutes0-59, - * /
Hours0-23, - * /
Day-of-month1-31, - * ? / L W
Month1-12 or JAN-DEC, - * /
Day-of-week1-7 or SUN-SAT, - * ? L #
Year1970-2199, - * /

Wildcards

  • The , (comma) wildcard includes additional values. In the Month field, JAN,FEB,MAR includes January, February, and March.
  • The - (dash) wildcard specifies ranges. In the Day field, 1-15 includes days 1 through 15 of the specified month.
  • The * (asterisk) wildcard includes all values in the field. In the Hours field, * includes every hour. You can't use * in both the Day-of-month and Day-of-week fields. If you use it in one, you must use ? in the other.
  • The / (slash) wildcard specifies increments. In the Minutes field, you could enter 1/10 to specify every tenth minute, starting from the first minute of the hour (for example, the 11th, 21st, and 31st minute, and so on).
  • The ? (question mark) wildcard specifies any. In the Day-of-month field you could enter 7 and if any day of the week was acceptable, you could enter ? in the Day-of-week field.
  • The L wildcard in the Day-of-month or Day-of-week fields specifies the last day of the month or week.
  • The W wildcard in the Day-of-month field specifies a weekday. In the Day-of-month field, 3W specifies the weekday closest to the third day of the month.
  • The # wildcard in the Day-of-week field specifies a certain instance of the specified day of the week within a month. For example, 3#2 would be the second Tuesday of the month: the 3 refers to Tuesday because it is the third day of each week, and the 2 refers to the second day of that type within the month.
📘

Note

If you use a '#' character, you can define only one expression in the day-of-week field.

For example, "3#1,6#3" is not valid because it is interpreted as two expressions.

You can also create a 1 time rule that would trigger on a specific time.

{
  "rule_type" : "one_time",
  "date_and_time" "at(2025-11-08T12:00:00)"
  "timezone": "Asia/Jakarta",
}

Syntax

at(yyyy-mm-ddThh:mm:ss)