Create your first automation in just a few minutes.Try Studio Web

Cron Expression

Cron Expression

by Internal Labs

3

Activity

Downloads

11.7k

back button
back button
carouselImage0
next button
next button

Summary

Summary

Activities to get next run time(s) for a cron expression, or all run times in a given time range.

Overview

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.

The activities use 3rd party library Quartz.dll (https://www.quartz-scheduler.net/). 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.

Cross Platform Release 2.0: Listing is upgraded to work on Cross Platform, .NET 6 (Windows Projects), and .NET Framework 4.6.1 (Windows-Legacy).

Features

Features

The activities included in this package can be used to get trigger times for a cron expression. Can be useful if we want to find out when a scheduled process will be executed, in a given time interval. In Orchestrator we have only the next run time available, but we can get the cron expression using API and, with the help of the activities included in this package, we can get all scheduled execution times in the given interval.

Additional Information

Additional Information

Dependencies

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

Code Language

C#, Visual Basic

Runtime

Cross-Platform (.Net 5.0 or higher)

Publisher

Internal Labs

Visit publisher's page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

2.0.1

Updated

November 10, 2023

Works with

Studio: 22.10 - 23.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings