Scheduled actions
5. Scheduled Actions
Tasks that run on a schedule.
scheduledActions: [
{
name: "actionName", // Unique action name
run: async (r, args) => { ... }, // Function to execute
interval: 43200, // Interval in seconds (12 hours in this example)
}
]
To register the scheduled job, refer Scheduler API docs.
Updated about 1 month ago
What’s Next