Trigger jobs based on a Cron schedule.
tilebox.workflows.automations.CronTask
as your tasks base class instead of the regular tilebox.workflows.Task
.
automations.delete
. After deletion, no new jobs will be submitted by that Cron trigger. Past jobs already triggered will still remain queued.
once
method.
once
immediately schedules the task, and a runner may pick it up and execute it. The trigger time set in the once
method does not influence the execution time; it only sets the self.trigger.time
attribute for the Cron task.