Skip to content

Releases: LabVIEW-Open-Source/Cron

Extension of base class features

12 Mar 23:37
Compare
Choose a tag to compare

Release Notes:
[Fix: 6] Exposed the JobReport's Map in the palette
[Feature: 7] Added a Job Started event to get notification from process that job was started )includes job name, GUID and start time)
[Feature: 8] Added a verbose status update
[Feature: 9] Check Abort now can set the error output as Warning (default) or Error on demand.
[Fix: 10] publication of job event is done also on abort or other error.
[Feature: 11] getExceptionMessage now retrieves the default error message if no error code provided by Job override
[Feature: 12] Job Creation Tool now will search for template folder

Initial Release of Cron Scheduler for LabVIEW

07 Mar 20:10
Compare
Choose a tag to compare

This library provides support for parsing Cron Expressions and computing job timing.
Compatible with Unix (minute resolution), Jenkins (load distributed) and Quartz (second resolution) formats.

Release Notes:

  • Initial release of Cron Scheduler library with basic Cron Expression parsing for Quartz-compatible expressions, Jenkins compatible load distributed expression and Unix legacy expressions.
  • Job base class (overridable with Job.specific)
  • Job.StaticVIRef (launch any VI as a job)
  • JobReport

Example expressions supported:
0 0 12 * * ? (Fire at 12pm (noon) every day)
0 15 10 ? * * (Fire at 10:15am every day)
0 15 10 * * ? 2021 (Fire at 10:15am every day during the year 2021)
0 * 14 * * ? (Fire every minute starting at 2pm and ending at 2:59pm, every day)
0 0/5 14 * * ? (Fire every 5 minutes starting at 2pm and ending at 2:55pm, every day)
0 0/5 14,18 * * ? (Fire every 5 minutes starting at 2pm and ending at 2:55pm, AND fire every 5 minutes starting at 6pm and ending at 6:55pm, every day)
0 10,44 14 ? 3 WED (Fire at 2:10pm and at 2:44pm every Wednesday in the month of March)
0 15 10 ? * MON-FRI (Fire at 10:15am every Monday, Tuesday, Wednesday, Thursday and Friday)
0 15 10 L * ? (Fire at 10:15am on the last day of every month)
0 15 10 L-2 * ? (Fire at 10:15am on the 2nd-to-last last day of every month)
0 15 10 ? * 6L (Fire at 10:15am on the last Friday of every month)
0 15 10 ? * 6#3 (Fire at 10:15am on the third Friday of every month)
0 0 12 1/5 * ? (Fire at 12pm (noon) every 5 days every month, starting on the first day of the month.)
H 0 * * ? * (Fire hourly but minute is computed from hash of jobName) -- jenkins