2022年5月

实验了一下,比如直接shell脚本配合crontab定时任务来的痛快。shell脚本内容如下(假设文件名为update.sh,放在/home目录下),需要chmod +x update.sh添加执行权:#!/usr/bin/env bash apt update -y apt upgra ...