On Wednesday 13 June 2007 06:28:09 Duncan Findlay wrote: > I imagine it would be relatively simple to have the postinst generate > a random time during the day for a cron script to run, but this > doesn't work with anacron -- many users would never get updates. how would this break anacron? > What can I do to satisfy those with and without anacron, and to avoid > hammering the sa-update servers at a specific time? personally, i would do something like this: - generate the crontab with a random hour/minute into a temp file - register the temp file /etc/cron.d/yourpackage via ucf sean
Attachment:
signature.asc
Description: This is a digitally signed message part.