Time-based trigger
You can schedule your function's execution using the Time-based trigger in the settings panel. It lets you trigger the function every x minutes or with a Crontab expression:

Every x minutes
You can trigger a function at periodic intervals, expressed in minutes. This trigger method runs the UbiFunction's main function. The minimum and maximum values allowed in this field are 1 and 60 minutes, respectively.

Crontab expression
A cron expression is a string made up of five subexpressions, or fields, that define the schedule. These fields are separated by whitespace and can contain any allowed values, with various combinations of the allowed characters for each field.
Minutes
0-59
, - * /
Hours
0-23
, - * /
Day-of-month
1-31
, - * /
Month
1-12 or JAN-DEC
, - * /
Day-of-week
1-7 or SUN-SAT
, - * /
Wildcards
comma ","
List of allowed values
In the Month field, JAN,FEB,MAR includes January, February, and March.
dash "-"
Range of allowed values
In the Day field, 1-15 includes days 1 through 15 of the specified month.
asterisk "*"
Includes all values in the field
In the Hours field, * includes every hour
slash "/"
Specifies increments
In the Minutes field, you could enter 1/10 to specify every tenth minute, starting from the first minute of the hour.
Use crontab.guru to test your crontab expressions.
Limitations
Cron expressions that lead to rates faster than 1 minute are not supported.
Examples
You can use the following sample cron strings when creating a rule with a schedule:
0
10
*
*
*
Run at 10:00 a.m. (UTC+0) every day
15
12
*
*
*
Run at 12:15 p.m. (UTC+0) every day
0
18
*
*
MON-FRI
Run at 6:00 p.m. (UTC+0) every Monday through Friday
0
8
1
*
*
Run at 8:00 a.m. (UTC+0) every 1st day of the month
0/15
*
*
*
*
Run every 15 minutes
0/10
*
*
*
MON-FRI
Run every 10 minutes Monday through Friday
0/5
8-17
*
*
MON-FRI
Run every 5 minutes Monday through Friday between 8:00 a.m. and 5:55 p.m. (UTC+0)
0/30
20-2
*
*
MON-FRI
Run every 30 minutes Monday through Friday between 10:00 p.m. on the starting day to 2:00 a.m. on the following day (UTC)
Run from 12:00 a.m. to 2:00 a.m. on Monday morning (UTC).

Last updated
Was this helpful?