Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 3 down vote accepted

In order to change this, you must

  1. delete the daily cronjob (if it exists)

  2. edit 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
add comment

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.