Closed rexdf closed 6 years ago
cron_parse_expr("8 */2 15-16 29 2 *", &expr, &err);
takes less time than access from j.get<std::vector<uint8_t>>().data()
cron_parse_expr 50000 times, cost 2864 miliseconds
j.get<std::vector<uint8_t>>().data() 50000 times, cost 8312 miliseconds
So give up.
[x] Bypass crontab 24 days limit If making a virtual crontab method to renew the crontab, it should work.
[x] do not call
cron_parse_expr
every time run crontab task