Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 4 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.