Re:Schedule – Python job scheduling for humans
by est on Saturday October 03, 2015 @11:19AM
(#10324184)
every cron or cron-like service has some kind of polling behind. Beanstalk, redis-queue, you name it. Many open source redis based scheduler are all implemented in a sleep(5) loop.
Even the Unix cron is implemented with a sleep() call
Re:Schedule – Python job scheduling for humans
by drudru11 on Saturday October 03, 2015 @01:58PM
(#10324728)
As another commentor noted, this is the way every system is implemented. It is simple, slightly inefficient, and deals with most of the nasty problems that arise when dealing with time on all systems today.
I get very uncomfortable with any kind of polling, especially polling timers for checking for jobs with timespans between them. Maybe it's just me?