Vipul Ved Prakash > Chronic > emerge-later

Download:
Chronic-0.30.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

emerge-later - Intelligent scheduling for Gentoo's emerge.

DESCRIPTION ^

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.

OPTIONS ^

emerge-later accepts the following command line options:

email

email specifies an email address of the person who should be notified when the emerge is completed. eg. email=admin@example.net

constraint

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).

EXAMPLES ^

    emerge-later sys-devel/binutils
    emerge-later -email=mail@vipul.net sys-devel/binutils

CHRONIC INTEGRATION ^

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).

AUTHOR ^

Vipul Ved Prakash, <mail@vipul.net>

syntax highlighting: