emerge-later - Intelligent scheduling for Gentoo's emerge.
emerge-later is a tool that allows you to emerge a package when system is inactive, eg. when you are away from the machine. emerge-later registeres scheduling requests with chronicd, an intelligent scheduling daemon that measures system activity, among other things.
If chronicd isn't running, emerge-later will print a warning. Just start chronicd, and the task will be picked up correctly.
emerge-later accepts the following command line options:
email specifies an email address of the person who should be notified when the emerge is completed. eg. email@example.com
By default, set to Inactivity, 1200, which implies the task should be scheduled after 20 minutes (1200 seconds) of Inactivity. To learn more about Chronic constraints, please see chronicd(1).
emerge-later sys-devel/binutils emerge-later -firstname.lastname@example.org sys-devel/binutils
As an example, emerge-later sys-devel/binutils will add the line constraint = Inactivity, 1200; only_once = 1; command = emerge sys-devel/binutils to /etc/chrontab and send a SIGHUP to chronicd(1) to force reload of /etc/chrontab. emerge will be run when the system has been idle for more than 20 minutes (1200 seconds).
Vipul Ved Prakash, <email@example.com>