saltstack 实战:配置管理任务计划
cron_test:
cron.present:
- name: /bin/touch /tmp/111.txt
- user: root
- minute: '*'
- hour: 20
- daymonth: '*'
- month: '*'
- dayweek: '*'cron.absent: name: /bin/touch /tmp/111.txt
base:
'*'
- cronsalt 'salt2' state.apply cron最后更新于