【文件属性】:
文件名称:systemd-cron:systemd单元以运行cron脚本
文件大小:42KB
文件格式:ZIP
更新时间:2021-03-11 18:49:50
系统开源
系统克隆
单元以运行脚本
描述
systemd单元通过在cron目录中运行脚本来提供cron守护程序功能。 使用(/ usr)/ lib / systemd / system-generators / 自动翻译 。
用法
将可执行脚本添加到适当的cron目录(例如/etc/cron.daily )并启用systemd-cron:
# systemctl daemon-reload
# systemctl enable cron.target
# systemctl start cron.target
该项目还包括等效的简单crontab命令,其行为类似于标准crontab命令(并接受相同的主要选项)。
现在,脚本应由systemd自动运行。 有关更多信息,请参见man:systemd.cron(7)。
依存关系
系统≥197
systemd≥209,年计时器
systemd≥212,
【文件预览】:
systemd-cron-master
----.gitignore(21B)
----Makefile.in(8KB)
----configure(5KB)
----CHANGELOG(7KB)
----src()
--------units()
--------bin()
--------man()
----LICENSE(1KB)
----contrib()
--------systemd-cron.spec(3KB)
--------zz_desktop_notification(2KB)
--------pre-commit(377B)
--------0wait(1KB)
--------changelog.py(1KB)
----README.md(5KB)
----VERSION(7B)