导出和导入定时任务
source link: https://zhiqiang.org/it/save-and-load-cronjob.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
导出和导入定时任务
crontab -l > /tmp/crontab
导入(会清空已有的任务):
crontab /tmp/crontab
Q. E. D.
类似文章:
CRONTAB FAQ 相似度: 0.324
CronJob 计划任务异常不执行的问题 相似度: 0.298
CrontJob 的时区问题 相似度: 0.235
Ubuntu 网络 DNS 设置 相似度: 0.130
Ubuntu 账号密码过期后果很严重 相似度: 0.104
安装和配置 boost 相似度: 0.093
在 Nginx 中使用 letsencrypt 证书实现 HTTPS 相似度: 0.091
动态数据类型 folly::dynamic 相似度: 0.078
folly::dynamic
提供类似于C++
的动态类型。和std::any
可以容纳任意类型不一样,folly::dynamic
只支持保存以下几种类型:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK