upstart as cron replacement
Posted Sep 3, 2006 8:20 UTC (Sun) by
bockman (guest, #3650)
In reply to:
upstart as cron replacement by smurf
Parent article:
What's happening at Ubuntu: from X.org updates to upstart
init has the unique property that it gets SIGCHLD for all processes which happen to die after their parent. Thus it is able to keep track of exactly when a job is finished, even if that job daemonizes or forks itself. (For the most part.)
It could export this feature: when an orphan child dies, upstart could notify other interested processes of the event. You would need a registration API and a way to transmit the information. Then an independent cron replacement could use this service.
Maybe. Just an idea. :-)
Ciao
------
FB
(
Log in to post comments)