bi01081993 / ncron

Automatically exported from code.google.com/p/ncron
Apache License 2.0
0 stars 0 forks source link

New scheduling engine with task queue and a single timer #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Rather than spawning a new timer for each job, NCron should use a priority 
queue with all tasks ordered by their next execution date/time. A single 
timer is then enough to make the service sleep until the item at the head 
of the queue is due for execution.

Research must be made to determine how other cron daemons react to the 
event where the CPU time is changed during a "sleep period". Should the 
service wake op periodically to recompute distance to next job execution?

Original issue reported on code.google.com by jsr%mala...@gtempaccount.com on 6 Jan 2010 at 1:58

GoogleCodeExporter commented 8 years ago

Original comment by jsr%mala...@gtempaccount.com on 6 Jan 2010 at 2:03

GoogleCodeExporter commented 8 years ago

Original comment by jsr%mala...@gtempaccount.com on 7 Jan 2010 at 5:05

GoogleCodeExporter commented 8 years ago
Refs issue #7

Original comment by jsr%mala...@gtempaccount.com on 7 Jan 2010 at 5:29

GoogleCodeExporter commented 8 years ago
NCron.Service.Scheduling namespace now contains a SchedulingService which 
internally 
uses a JobQueue and a single timer to schedule job execution.

Original comment by jsr%mala...@gtempaccount.com on 17 Jan 2010 at 1:29