Cockpit scheduler
  • 12 Dec 2022
  • 3 Minutes to read
  • Contributors
  • Dark
    Light

Cockpit scheduler

  • Dark
    Light

Article summary

Schedule feature enables you to create and manage bot execution schedules. Using this feature, you can addvieweditreschedule, and delete bot schedules. To view Schedule page, select Bot Management () > Schedules in main menu.

Adding bot schedule

Follow steps below to schedule a bot:

1. In Schedule page, select Schedule button available at top right corner of the page. Add Schedule dialog box will open.

Refer table below for field descriptions.

FIELD

DESCRIPTION

Search Bots

Auto-suggestion search box for bots

TimeZone

Local time-zone

Start Date

Start-date of bot

Start Time

Start-time of bot

End Time

End-time of bot

Immediate

To set on/off immediate execution

Frequency

To set on/off recurrent execution

Estimated job duration (Minutes)

Estimated duration within which the bot is expected to finish its execution.

Cockpit will wait for an unresponsive bot for this much duration in case the Wait till End time for Unresponsive Bot

Note: Based on UnresponsiveRetries

CheckUnresponsiveJobsDuration

Wait till End time for Unresponsive Bot

64058

Option to signal Cockpit to wait for the duration as specified by the Estimated job duration property before terminating an unresponsive bot.

If it is switched off, the Cockpit will wait-and-check for the unresponsive bot for a fix number of times before terminating the unresponsive bot.

Cancel

To close the dialog box without saving the changes.

Save

To save the changes and close the dialog box.

2. In case Recurrence is switched ‘On’, few more fields will become visible in Schedule page:

Refer table below for field descriptions.

FIELD

DESCRIPTION

Frequency

Minute

For scheduling a single or recurring execution of bot with time specified in minutes.

Hourly

For scheduling a single or recurring execution of bot with time specified in hours.

Daily

For scheduling a single or recurring execution of bot with time specified in days.

Weekly

For scheduling a single or recurring execution of bot with time specified in weeks.

Monthly

For scheduling a single or recurring execution of bot with time specified in months.

Yearly

For scheduling a single or recurring execution of bot with time specified in month and years.

Every

Time offset

On

Following options can be selected:

  • Every minute recurrence – 1 to 60

  • For hourly recurrence – 1 to 24

  • For Weekly recurrence – Monday to Saturday

  • For Monthly recurrence – A day of a month (value from 1‑31)

  • For Yearly recurrence – A month of year (value from 1‑12) and a day of month (value form 1‑31)

End repeat

After

Number of executions after which bot will no longer execute

On

Date and time after which bot will no longer execute

3. Fill-in the required details and select Save to save the schedule. On successful completion, a success message will briefly appear on the page.

Viewing bot schedule

Follow steps below to view a bot schedule.

1. In Schedule page, tabs related to different duration types are available. They are:

  1. Day – To view bot schedule for a given day.

  2. Week - To view bot schedule for a given week.

  3. Work Week - To view bot schedule for a given workweek.

  4. Month - To view bot schedule for a given month.

   Select any one of the tabs as per your requirement.

2. Select a time period from the date-picker available at top left corner of the Schedule page. Bot schedule for the selected period will appear in the page as coloured blocks.

Editing bot schedule

It is important to note that only Successful and Scheduled type bot schedules can be edited. To edit a bot schedule, follow the steps below:

1. In Schedule page, select the coloured block for the required bot schedule. Edit Schedule dialog box with required bot details will open.

2. In Edit Schedule dialog box, make the required changes and select Save. On successful completion, a success message will briefly appear on the page.

Rescheduling bot schedule

It is important to note that only Failed bot schedules can be rescheduled. To reschedule a bot schedule, follow the steps below:

1. In Schedule page, select the coloured block for the required bot schedule. Schedule dialog box with required bot details will open.

2. In Schedule dialog box, make the required changes and select Reschedule. Add Schedule dialog box will open.

3. In Add Schedule dialog box, make the required changes and select Save. On successful completion, a success message will briefly appear on the page.

Deleting bot schedule

You can either delete a selected occurrence of a bot schedule, or delete all its occurrences (series). To delete a bot schedule, follow the steps below:

1. In Schedule page, select the bot schedule to be deleted. Edit Schedule dialog box will open.

Note:Only future bot schedules can be deleted.

2. In Edit Schedule dialog box, select either Delete Occurrence or Delete Series based on your requirement. A confirmation dialog box will be displayed to confirm delete.

3. Select Yes to delete the selected occurrence / series of occurrences of the selected bot schedule. On successful deletion, a success message will briefly appear on the page.



Was this article helpful?