Commit Graph

8 Commits

Author SHA1 Message Date
Richard Hughes
d8775da185 Autogenerate the .gitignore files using git.mk 2011-06-13 11:08:00 +01:00
Vincent Untz
36333a4ba1 cron: Do not exit with 1 if the cron script is disabled in the config
Exiting with 1 means it is an error, while it's really just a
configuration option.
2010-07-23 09:39:38 +01:00
Marko Myllynen
f819908d41 Add maximum wait time limit to cron checks
Update checks from cron were using sleep 21332 to avoid hammering the
servers which is indeed very useful feature. However, those wait times
were easily several hours so a user might well shut down the system
before any checking is done. This patch allows defining maximum wait
time limit for the cron script, defaulting to one hour. Using the
default clients now will wait 1 - 3600 seconds before contacting the
servers
2010-05-05 19:43:47 +01:00
Marko Myllynen
3fa90bfa32 Fix system name variable name inconsistency in the cron script
Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-05-05 19:41:23 +01:00
Richard Hughes
47baf7c5b1 Fix the permission of /etc/sysconfig/packagekit-background to be non-executable 2010-05-05 17:21:53 +01:00
Richard Hughes
f932bcf490 cron: Only email when a useful action was done. Fixes rh#540949 2009-11-24 16:23:09 +00:00
Jared D. McNeill
49624336df Don't use BASHisms on FreeBSD
Signed-off-by: Richard Hughes <richard@hughsie.com>
2009-06-05 11:56:42 +01:00
Richard Hughes
aa70f40f1b trivial: move the cron scripts out to an optional cron contrib directory 2009-04-09 09:58:00 +01:00