-
Notifications
You must be signed in to change notification settings - Fork 0
Home
sioux1977 edited this page Sep 14, 2015
·
1 revision
For one of my projects i need to perform a repetitive task, at first time i have used cronie, but the smallest interval for cronie is one minute. I digged into search engine but didn't find anything usefull and most important i didn't find anything reliable. So, i have decided to write myself a scheduler to achieve small time interval than cronie and that is sufficient reliable for my project.
Scheduler's key features are:
- milliseconds intervals
- process overlap check
Scheduler is built around java Timer object, so you can choose repetitive interval down to 1 millisecond, if your machine can do this.
You can ask Scheduler to not start a new process if previous is still running, so you don't need to write guard code in your software to avoid this; Scheduler take care of this.