croncpp icon indicating copy to clipboard operation
croncpp copied to clipboard

A C++11/14/17 header-only cross-platform library for handling CRON expressions

Results 18 croncpp issues
Sort by recently updated
recently updated
newest added

Hi, i've encountered some complie error when i passed `c++1z option` to a complier. My `main.cpp` is simple as below. ```c++ #include #include #include using namespace std; int main(void) {...

There is definitely a problem with this code having to do with daylight savings transition. Simple example time_t now = 1647084600; // Mar 12, 2022 4:30am string e = "0...

bug

unix epoch time: 1585398600 Saturday, March 28, 2020 2:30:00 PM GMT+02:00 rule: 0 30 14 * * * using that time, next time returns the same time, it's probably related...

bug

If I set the cronjob 0 0 0 1 1 1 (https://crontab.guru/#0_0_1_1_1) and want to have the next timestamp, I expect Friday, January 1. 2021. But my program crashes with...

bug

Hi, I'm trying to use croncpp and it looks very good. The only issue I see is with time_t input and timezone. For example if I call setenv to use...

I've been trying to use croncpp for scheduling, however when I try to do something monthly (ie: Only run on the 2nd friday) croncpp seems to only do weekly. I've...

I was trying some of the examples and saw the following happen: ``` Trying: 0 15 10 L * ? terminate called after throwing an instance of 'cron::bad_cronexpr' what(): stoul...

enhancement

As a C++17 library, this should support modern C++ chrono facilities instead of (or at least in addition to) C-style std::time_t.

enhancement

It would be nice to be able to get the last time a cron expression was executed. The java lib http://cron-parser.com/ does this, and it's very useful. I'll try implementing...

enhancement