Skip to content

Scheduled Tasks Run

You can configure the recurring execution of a Task Run.

The procedure is as follows:

  • Configure the Task Run and verify that a single, manual run completes correctly.
  • Create a "CRON" if one does not already exist at the right frequency.
  • Associate one or more CRONs with the Task Run.

Creating the CRON

Enable "Debug Mode".

A CRON (or Scheduled Action) is an object that defines an execution period.

Open the Task Run you want to schedule and click the "Create CRON" button at the top right of the form.

A new CRON is added in the CRONs tab.

Click it to edit it.

Adjust:

  • Action Name
  • The "Execute Every" period
  • Next Execution Date

Do not change anything else without reading the contextual help.

When you are satisfied, activate it (click Active), then save your changes.

Danger

Python Code must absolutely contain:

model.cron_launcher()
Otherwise, the CRON will do nothing!

Associating one or more CRONs with the Task Run

Add the CRONs you want to the list of CRONs of your Task Run (if they are not already there).

Warning

Remove the Task Run from the CRON field of the 'Debug' tab if it is still present.