There is not a great deal of configurability built into Ubuntu Advantage. The core settings can be found in /etc/ubuntu-advantage/uaclient.conf
and a quick glance will see that setting specific times for the tool to run is not in there.
Additionally, you can list all available settings via the terminal with:
sudo ua config show
This will output the settings that are found in the uaclient.conf
file, though:
http_proxy None
https_proxy None
apt_http_proxy None
apt_https_proxy None
update_messaging_timer 21600
update_status_timer 43200
metering_timer 14400
These settings can be changed either by editing uaclient.conf
followed by a sudo ua refresh config
, or issuing a command in the terminal:
sudo ua config set metering_timer 28800
The timer values are listed in seconds. This translates to:
Seconds |
Readable Time |
14400 |
4 hours |
21600 |
6 hours |
43200 |
12 hours |
Based on the fleet of servers that I observe, Ubuntu Advantage times are triggered based on current uptime
in seconds. As a result, if you want things to happen at 2:00am, you will need to reboot your server(s) at 2:00am and set the timer values to run accordingly. This is not something that I've tested myself, though.
You can read a tiny bit more from the documentation, but this is not a comprehensively-covered tool like some of the other aspects within Ubuntu.