文件操作 - ua-timer.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/ua-timer.service
编辑文件内容
# On machines that are currently attached to Ubuntu Pro services, some tasks need to run # periodically in the background to maintain the state of the Ubuntu Pro services. # These include: # - Periodically ping https://contracts.canonical.com for metering and to check the contract expiration # - If this contract is about to expire, add notification messages to MOTD # Triggered by ua-timer.timer [Unit] Description=Ubuntu Pro Timer for running repeated jobs After=network.target network-online.target systemd-networkd.service ua-auto-attach.service [Service] Type=oneshot ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/timer.py
修改文件时间
将文件时间修改为当前时间的前一年
删除文件