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'd like to have updates fetched on a regular basis: apt, Git remotes, R packages, stuff like that. I know how to set up crontab rules or how to change the apt settings. My only concern is that when I'm on a network that charges by traffic (e.g., on a traffic-restricted mobile plan), I'd like to turn this feature off. Of course I'm not going to change all crontabs, there must be something better. Currently, my best idea is to have all scripts check the existence or contents of a certain file that could be altered manually or by some "connect" event.

Is there a standard approach to this, say, a switch on the GUI that sets some system setting that can be queried, or a tag on a network that would label it as "traffic-limited", or an ufw setting, or ...

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.