mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-06-30 16:02:57 -05:00
Added note about UTC.
This commit is contained in:
11
README.md
11
README.md
@ -1,6 +1,10 @@
|
||||
# libcron
|
||||
A C++ scheduling library using cron formatting.
|
||||
|
||||
# Time zones
|
||||
|
||||
This library uses `std::chrono::system_clock::timepoint` as its time unit, thus all calculations are in UTC.
|
||||
|
||||
# Supported formatting
|
||||
|
||||
This implementation supports cron format, as specified below.
|
||||
@ -59,4 +63,9 @@ the '?'-character unless one field already is something other than '*'.
|
||||
| * * * * * ? | Every second
|
||||
|0 0 12 * * MON-FRI | Every Weekday at noon
|
||||
|0 0 12 1/2 * ? | Every 2 days, starting on the 1st at noon
|
||||
| 0 0 */12 ? * * | Every twelve hours
|
||||
| 0 0 */12 ? * * | Every twelve hours
|
||||
|
||||
# Third party libraries
|
||||
|
||||
Howard Hinnant's [date.h](https://github.com/HowardHinnant/date/)
|
||||
|
||||
|
Reference in New Issue
Block a user