Commit Graph

4 Commits

Author SHA1 Message Date
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
aa70f40f1b trivial: move the cron scripts out to an optional cron contrib directory 2009-04-09 09:58:00 +01:00