diff options
author | Vincent Untz <vuntz@opensuse.org> | 2011-07-26 11:34:22 +0200 |
---|---|---|
committer | Vincent Untz <vuntz@gnome.org> | 2012-04-26 15:16:35 +0200 |
commit | 744da7ce30ec3ef1fc5e1a40a9ffab520315ab06 (patch) | |
tree | 239ffb7cfca681830beb1c86e2eec96ab83a57c6 | |
parent | 497c8df4ffc1e7f98c93a81d83e2b6de8f7620cd (diff) |
Change the configuration of the cron script to a sysconfig-like config
-rw-r--r-- | contrib/cron/packagekit-background | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/contrib/cron/packagekit-background b/contrib/cron/packagekit-background index e5b5c9b5..783e2dff 100644 --- a/contrib/cron/packagekit-background +++ b/contrib/cron/packagekit-background @@ -1,18 +1,41 @@ -# should we attempt to do this? (valid: yes|no) +## Path: System/Cron/PackageKit +## Description: Cron job to update the system daily with PackageKit + +## Type: yesno +## Default: no +# +# Run the cron job. +# ENABLED=no -# don't install, just check (valid: yes|no) +## Type: yesno +## Default: no +# +# Check if updates are available, instead of installing. +# CHECK_ONLY=no -# if MAILTO is set, the mail command is used to deliver PackageKit output -# by default MAILTO is unset, so crond mails the output by itself -#MAILTO=root +## Type: string +## Default: "" +# +# If MAILTO is set, the mail command is used to deliver PackageKit output. +# By default MAILTO is unset, so crond mails the output by itself. +# +MAILTO="" -# you may set SYSTEM_NAME if you want your PackageKit emails tagged -# differently default is output of hostname command -#SYSTEM_NAME="" +## Type: string +## Default: "" +# +# You may set SYSTEM_NAME if you want your PackageKit emails tagged differently. +# Default is output of hostname command. +# +SYSTEM_NAME="" -# update checks will sleep random time before contacting the servers to +## Type: integer +## Default: 3600 +# +# Update checks will sleep random time before contacting the servers to # avoid hammering them with thousands of request at the same time - this -# is the maximum sleep time (in seconds) for the random wait period +# is the maximum sleep time (in seconds) for the random wait period. +# SLEEP_MAX=3600 |