RTC alarm wake for cron jobs

Registered by RMS-mit on 2009-07-13

Since upstart is going to replace cron. There is one feature that cron lacks that upstart could do.

There should be an option to have events trigered by time Wake the PC up to preform that task. For instance a scheduled backup would have this option set so the PC would wake-up (trigered by the RealTImeClock Alarm built into most mother boards) to preform the backup. This would be good for jobs that must occure at a specific time even if the PC has been left off.

These options could be extended so that scheduled events could optionaly be preformed only if the machine in not suspended. This would be good for beter power management.

So job could be defined to :-

A) run at specific time even if machine has to power on to do so.
B) run if the machine is on at specific time even is machine is currently suspeneded
C) run if the machine on and not suspended at a specific time.

A seprate option should be provided to a run scheduled job that was skipped (because the machine was off or suspended) X minutes after next powered on.

Note:- the RTC wake function can be controled from Linux but it doesn't seam to have a mechanism for manageing multiple scheduled jobs that should wake the PC. upstart, as the cron replacemnet, is the ideal process to manage when to wake the machine for scheduled jobs.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.