查看定时任务
crontab -l
编辑定时任务
crontab -e
每周五23点定时关机
0 23 * * 5 /usr/sbin/shutdown now
命令必须是完整路径:/usr/sbin/shutdown
查看命令路径:which
最后更新于4年前
这有帮助吗?