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 ...