Cron Expression

Bronze Certified

Custom Activity

3 reviews

8.1k

Cron Expression

Bronze Certified

Custom Activity

3 reviews

8.1k


Summary

Activities to get next run time(s) for a cron expression, or all run times in a given time range. Uses 3rd party library Quartz.net

Overview

Activities in this package:
  • Get next run time - Simple activity to get the next run time for a cron expression. It uses the GetTimeAfter method from Quartz.net lbrary.
  • Get next run times - Get next "n" run times for a cron expression. Using the same GetTimeAfter method in a loop.
  • Get all runs in interval - Get next runs for a given time range, for example I want all scheduled runs for the next 10 days.
Uses 3rd party library Quartz.dll (https://www.quartz-scheduler.net/), included in the package. The 3rd party library was included in the package, not just added as reference, because this way we can use all types and public methods from the Quartz.net library.
Can be used to get "a calendar" of scheduled jobs in Orchestrator, there is also snippet available for this - Export Schedules Calendar for Orchestrator. The Orchestrator API provides only the cron expression for a given schedule, not the next run times according to the cron expression, so we can use the methods provided in this package to get the run times according to schedule.
NOTE: Installation Guidelines for Custom Activities can be found here.

Benefits


Published: 02 Sep 2020 | Updated: 18 Dec 2020


License

By clicking download you agree to the following license.


Code Language

Visual Basic


Runtime

.NET Framework


Tags

cron
cron-expression
date
クーロン
クーロン
クーロン
クーロン
クーロン
日付
日付
日付
日付
日付

Compatibility

UiPath Studio and Robots 2018.4 and newer.


Dependencies

Quartz Enterprise Scheduler .NET - https://github.com/quartznet


Similar Listings