Comment 7 for bug 522452

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Aha!

I have a much better way of doing this..

No need for a cronjob.

In the update motd script:
  if upgrade-available cache file is populated, print it
  else if it's available but empty, check its timestamp, and if it's older than 1 day old, update the cache file in the background
  else if it doesn't exist, update it in the background

Profit! I'm going to go ahead and commit that version now. I'll wait for Michael to release it though.