Cron Pusher
Syntax
type Date = {
minute?: 0-60;
hour?: 0-24;
date?: 1-31;
month?: 1-12;
year?: number;
timezone?: Timezone | 'client';
}
type Interval = {
minute?: number;
hour?: number;
day?: number;
} | number;
type Timer = {
// if using `last interaction` then start time will be calculated from user's last interaction (chat) time
start?: Required<Date> | 'last interaction';
delay?: Interval;
interval?: Interval;
}Timer
Push Time Calculation
How to write a cron push task
properties.timer
global transitions
cron state
What should be noticed when using CronPusher.
Last updated