SecondLevelCronTimer SLCT Wiki
C++ library to parse time strings similar to the UNIX crontab format
Brought to you by:
signaleleven
SecondLevelCronTimer (SLCT) is a C++ library that provides a timer that can be specified using a crontab like timing string. The main difference between cron and SLCT is the precision. SLCT uses a second field, allowing time to be specified down to the second.
Here is a short example, showing how to use the library:
SecondLevelCronTimer timer("0 0 22 * * *"); // run at 22:00:00, every day
timer.sleepUntilValid();
std:cout << "It's 10 pm. Do you know where your children are?" << std::endl;
Documentation, both user and developer level, is provided using Doxygen. See to doc/ subdirectory in the download package for more details.
SLCT is Free Software released under the BSD 3-clause license
(This license is also known as the "New BSD License" or "Modified BSD License").
You will find a copy of the license included with the downloadable source distribution.
If you find this package useful, please consider a donation.