Skip to content

marcelog/erl_vcron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

erl_vcron

Given a calendar:datetime() and a Vixie Cron-like expression, returns true if the expression covers the datetime().

Build

Just run make.

Examples

1> erl_vcron:applies({{2017, 07, 10}, {4, 15, 0}}, "*/5 2-4 10,15 7 1").

There are many more examples in the eunit tests.

License

The source code is released under Apache 2 License.

Check LICENSE file for more information.