taskgraph.cron package¶
Submodules¶
taskgraph.cron.decision module¶
-
taskgraph.cron.decision.
make_decision_task
(params, symbol, arguments=[], head_rev=None)¶ Generate a basic decision task, based on the root .taskcluster.yml
-
taskgraph.cron.decision.
run_decision_task
(job, params)¶
taskgraph.cron.schema module¶
-
taskgraph.cron.schema.
even_15_minutes
(minutes)¶
-
taskgraph.cron.schema.
validate
(cron_yml)¶
taskgraph.cron.util module¶
-
taskgraph.cron.util.
calculate_head_rev
(options)¶
-
taskgraph.cron.util.
match_utc
(params, hour=None, minute=None)¶ Return True if params[‘time’] matches the given hour and minute. If hour is not specified, any hour will match. If minute is not specified, then every multiple of fifteen minutes will match. Times not an even multiple of fifteen minutes will result in an exception (since they would never run).