summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-12-11 15:08:17 +0100
committerintrigeri <intrigeri@boum.org>2010-12-11 15:17:41 +0100
commitfad111e036d06b9d7bce163b2f888c5d337c4089 (patch)
treec7b1e00b7e926ffa00258e5795f738792ad5b453 /README
parent874da52745d7f9c34976a9e05292a92bb449e803 (diff)
Allow running cron-apt more than once a day.
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index a84b510..88eef47 100644
--- a/README
+++ b/README
@@ -186,12 +186,24 @@ apt::cron::download
This class sets up cron-apt so that it downloads upgradable packages, does not
actually do any upgrade and emails when the output changes.
+cron-apt defaults to run at 4 AM. You may want to set the
+$apt_cron_hours variable before you include the class: its value will
+be passed as the "hours" parameter of a cronjob. Example:
+
+ # Run cron-apt every three hours
+ $apt_cron_hours = "*/3"
+
+Note that the default 4 AM cronjob won't be disabled.
+
apt::cron::dist-upgrade
-----------------------
This class sets up cron-apt so that it dist-upgrades the system and
emails when upgrades are performed.
+See apt::cron::download above if you need to run cron-apt more often
+than once a day.
+
apt::dselect
------------