An open API service indexing awesome lists of open source software.

https://github.com/puchaczov/tql.cronexpression

Advanced cron evaluator
https://github.com/puchaczov/tql.cronexpression

cron csharp dotnet parser schedule tql

Last synced: about 1 year ago
JSON representation

Advanced cron evaluator

Awesome Lists containing this project

README

          

[![Stories in Ready](https://badge.waffle.io/Puchaczov/CronExpression.png?label=ready&title=Ready)](https://waffle.io/Puchaczov/CronExpression)
# CronExpression

What is CronExpression


CronExpression is .NET CRON expression validator and fire time evaluator. It pretend to support the broadest spectrum of available syntax. It’s even powerful enough to point why you’re expression is wrong!


Latest release


Version 3.0




  • Support mixable complex types such as L, LW, W, #, -(range), /(Hyphen), *(star) in defined by CRON rules segment




  • Support expression in two modes: Modern(with second and year segment), Old(without second and year segment)




  • Improved expression analysis.




  • Support for nonstandard defintions




  • Nuget availibility (Install-Package TQL.CronExpression)




Features


Typing expression is allowed in two formats, standard and nonstandard.


Supported nonstandard definitions are:



  • @annual




  • @yearly




  • @monthly




  • @weekly




  • @daily




  • @hourly




Standard definitions are:




Feature




Parser




Expression
Validator




Evaluator








*




Supported




Supported




Supported






,




Supported




Supported




Supported






-




Supported




Supported




Supported






/




Supported




Supported




Supported






?




Supported




Supported(DayOfMonth,DayOfWeek)




Supported(DayOfMonth,DayOfWeek)






L




Supported




Supported




Supported






W




Supported




Supported(DayOfMonth)




Supported(DayOfMonth)






LW




Supported




Supported(DayOfMonth)




Supported(DayOfMonth)






#




Supported




Supported(DayOfWeek)




Supported(DayOfWeek)






Errors




Supported




Supported




Not
Applicable




 


API & Documentation


To successfully use this library, you won’t need to learn a lot, just read short introduction in appropriate section of documentation (go here). If you would like to bring something new to library, open new issue.


Contribute


If you like this library, please
appreciate my effort. You can do it by creating fixes, new
features, reporting issues or starring library. Feel free to report ideas,
It's good place to consider implementation of it.


License


This library is based on MIT license.