OB2 Logo

Opsbeacon

Cron

Cron triggers provide a scheduling framework for your executions, allowing you to precisely determine when your actions are initiated. With cron triggers, you can schedule commands, connections, or workflows to run at specific times or on a regular basis.


Setting up a Cron Trigger

To set up a Cron in OpsBeacon, follow these steps:

  1. Navigate to the Cebhook page from the “Triggers” menu.
  2. Create a Cebhook.
  3. Give your Cebhook a name and assign Commands&Connections or Workflows that that will be triggered when the scheduled time comes.
  4. Select a schedule type: On-Time Schedule or Recurring Schedule. Recurring schedule consists of two schedules: Cron-Based Schedule and Rate-Based Schedule

Cron

On-Time Schedule

For an on-time schedule, follow these steps:

  1. Choose the "On-Time Schedule" option.
  2. Specify the date, hour, and timezone for the schedule.
  3. Optionally, enable the "Flexible Time" feature to allow the schedule to run within 15 minutes after the specified start time.
  4. Save the cron trigger.

Cron

Cron-Based Schedule

To set up a cron-based schedule, follow these steps:

  1. Choose the "Recurring Schedule" option.
  2. Select the "Cron-Based Schedule" option.
  3. Enter a cron expression to define the schedule. For example, to run at 8:00 a.m. PST on the first Monday of every month, you could use 0 8 1-7 * 1.
  4. Optionally, enable the "Flexible Time" feature.
  5. Specify the timezone.
  6. Save the cron trigger.

Cron

Rate-based Schedule

To set up a rate-based schedule, follow these steps:

  1. Choose the "Recurring Schedule" option.
  2. Select the "Rate-based Schedule" option.
  3. Specify the rate at which the schedule should run, such as every 10 minutes.
  4. Optionally, enable the "Flexible Time" feature.
  5. Specify the timezone for the schedule.
  6. Save the cron trigger.

Cron

Previous
Slack