This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
планирование_выполнения_заданий_в_linux [2023/03/03 08:44] val [Сервис cron] |
планирование_выполнения_заданий_в_linux [2023/03/03 08:57] (current) val [Сервис cron] |
||
---|---|---|---|
Line 29: | Line 29: | ||
<code> | <code> | ||
- | client2:~/ansible-pull-gpo# cat start.sh | ||
- | </code><code> | ||
- | echo -e "0 */2 * * * \ | ||
- | /usr/bin/ansible-pull -s 90 -U http://gate.corpX.un:3000/student/ansible-pull-gpo.git\n\ | ||
- | @reboot sleep 1m; /usr/bin/ansible-pull -U http://gate.corpX.un:3000/student/ansible-pull-gpo.git" | crontab - | ||
- | </code><code> | ||
# ls /var/spool/cron/ | # ls /var/spool/cron/ | ||