26 Apr 2005 07:36:47 UTC
- Distribution: Chronic
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (416 / 13 / 0)
- KwaliteeBus factor: 1
- 10.95% Coverage
- License: unknown
- Activity24 month
- Download (20.04KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionVIPUL Vipul Ved Prakash
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. firstname.lastname@example.org
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 -email@example.com 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, <firstname.lastname@example.org>
Module Install Instructions
To install Schedule::Chronic::Constraint::NAME, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Schedule::Chronic::Constraint::NAME
For more information on module installation, please visit the detailed CPAN module installation guide.