6

I have a VPS running Ubuntu 12.04 Server. Apticron sends out daily emails when there are updates available. I want to change this to weekly.

I looked at the configuration options in /etc/apticron/apticron.conf, but that does not list an option to set a different interval for sending the reminder emails. I also can't see a relevant cronjob to modify.

Can I change the apticron email interval?

Raja G
  • 105,327
  • 107
  • 262
  • 331
arjan
  • 175

1 Answers1

7

In order to change this, you must:

  1. Delete the daily cronjob (if it exists)

  2. Edit /etc/cron.d/apticron settings,

    from:

     30 * * * * root if test -x /usr/sbin/apticron; then /usr/sbin/apticron --cron; else true; fi
    

    to:

     30 11 * * 0 root if test -x /usr/sbin/apticron; then /usr/sbin/apticron --cron; else true; fi
    

This has a good walkthrough, and this explains cron options well.

fooquency
  • 107
jake madison
  • 86
  • 1
  • 2