saltstack/salt — pull request #12356 by garethgreenaway (2014-04-28 23:47:15+00:00)
Title: Adding the ability to schedule jobs using real times

Adding the ability to schedule jobs using real times, specific time of day or day or week, etc. The date strings follow those supported by python-dateutil.

Some examples:
schedule:
job1:
function: state.sls
args:
- httpd
kwargs:
test: True
when: 5:00pm

schedule:
job1:
function: state.sls
args:
- httpd
kwargs:
test: True
when:
- Monday 5:00pm
- Tuesday 3:00pm
- Wednesday 5:00pm
- Thursday 3:00pm
- Friday 5:00pm