Skip to content
🎉 Bem-vindo! Sinfonia by 27Devs é uma plataforma completa de orquestração de robôs, solicite já seu acesso.

Scheduling

Use a schedule when a bot must run on its own at recurring times, for example every weekday at 9 AM (0 9 * * 1-5). A schedule defines when (Cron expression), which bot and version, and where (agents) it runs, with no manual intervention. It’s ideal for monitoring routines, data extraction or periodic automations.

Schedules Screen

Data Table

FieldDescription
BotName of the bot associated with the schedule.
VersionSpecific version of the bot scheduled for execution.
ModeExecution mode (headless, parallel, interface).
AgentAgents configured for the schedule.
Cron ExpressionConfigured cron expression.
Next ExecutionIndicates the date/time of the next job execution.
StatusIndicates whether the schedule is active or inactive.
ActionsItem actions Edit, Delete.

Filters

FilterDescription
BotFilters schedules by bot
AgentFilters by agent
StatusFilters by ON/OFF status

New Schedule

Below is the description of the fields needed to configure a schedule.

Scheduler Triggers Form

Cron Expression

  • Description: Defines the frequency and execution time of the bot. The expression follows the standard Cron format, allowing flexible scheduling.
  • Example: * * * * * (Executes every minute)
  • Tip: Use the visual Cron expression generator available on the platform to facilitate creating the desired expression.
FieldDescriptionNotes
BotBot that will be executed when the trigger is fired.Must be previously created and available on the platform for selection.
VersionSpecific version of the bot to be used.Accepts X.Y.Z (example: 1.0.0) or release, which always uses the latest available version.
LabelOptional identifier for the trigger.Can be used for organization or filtering.
AgentDefines the agent responsible for bot execution.The agent must be active and connected. Multiple agents can be selected, avoiding execution bottlenecks.
Parameters (JSON)Additional parameters sent to the bot, in JSON format.Reach the code as environment variables. Example: {"arg1": "1366", "arg2": "768"}
DescriptionFree text describing the trigger’s purpose.Makes it easier to identify on listing screens.

Execution and Error Limits

Optional features to control the volume of queued executions and how the schedule behaves when failures happen. All of them are unchecked by default. When you check an option, a Limit field appears, pre-filled with a default value that you can adjust.

OptionWhat it doesLimit (default / range)
Limit queued executionsRestricts the maximum number of executions the schedule can keep queued at the same time. While the limit is reached, no new executions are created until one of them finishes.Queued executions: 10 / 1 to 25.
Retry on errorMakes the schedule automatically run the bot again whenever an execution finishes with an error.Retries per error: 1 / 1 to 3.
Disable on errorsAutomatically deactivates the schedule (Status changes to OFF) once it reaches the configured number of errors.Errors tolerated: 5 / 1 to 10.

Tip

The three options can be combined. For example: allow up to 3 automatic retries per failed execution and automatically disable the schedule after 5 errors.

Cron Generator

The platform offers a visual generator to facilitate creating Cron expressions. Below are the tabs available for configuration: Allows defining execution frequency based on minutes.

Cron Generator

Available Settings

Minutes

  • Description: Defines the minutes when the bot will be executed.
  • Available options: Every minute; Every X minute(s), starting at minute Y; Specific minute (one or more); Every minute, between minute X and minute Y.

Hours

  • Description: Defines the hours when the bot will be executed.
  • Available options: Every hour; Every X hour(s), starting at hour Y; Specific hour (one or more); Every hour, between hour X and hour Y.

Day

  • Description: Defines the days when the bot will be executed.
  • Available options: Every day; Every X day(s), starting on a day of the week; Every X day(s), starting on a day of the month; Specific day of the week (one or more); Specific day of the month (one or more).

Month

  • Description: Defines the months when the bot will be executed.
  • Available options: Every month; Every X month(s), starting in a given month; Specific month (one or more); Every month, between month X and month Y.

Cron Expression Examples

  • 0 9 * * 1-5: Executes the bot at 9 AM Monday through Friday.
  • 30 14 * * 6,0: Executes the bot at 2:30 PM on Saturdays and Sundays.
  • 0 */2 * * *: Executes the bot every 2 hours.
  • 0 0 1 * *: Executes the bot at midnight on the first day of each month.

Edit Schedule

To edit an existing schedule, click the icon in the Edit column.

Note

The editing fields are the same as the creation form. For more details about each field, see the New Schedule section.

Scheduler Triggers Form Edit

Remove Schedule

To remove a schedule, click the trash icon in the Actions column.

Tip

A confirmation modal will be requested.

Disable Schedule

To deactivate or activate a schedule, click the toggle in the Status column.

Tip

A confirmation modal will be requested.

Last updated on