I am trying out Salt schedule, and I have tried adding the following to my minion state file:
highstate_run:
schedule.present:
- function: state.apply
- splay: 5
- seconds: 60
At first, the scheduled task shows up:
$ sudo salt-call schedule.list show_all=True
local:
schedule:
highstate_run:
enabled: true
function: state.apply
jid_include: true
maxrunning: 1
name: highstate_run
seconds: 60
splay: 5
But after one execution of the state.apply command (as seen under /var/log/salt/minion), the scheduled task disappeared and would not run again.
Any input will be appreciated. Thanks! :")