Per #39710, missing parameter in the schedule.add function

This commit is contained in:
Gareth J. Greenaway 2017-02-28 11:18:11 -08:00
parent 7b4865c058
commit 63eb610245

View file

@ -359,8 +359,9 @@ def build_schedule_item(name, **kwargs):
else:
schedule[name]['splay'] = kwargs['splay']
for item in ['range', 'when', 'once', 'once_fmt', 'cron', 'returner',
'return_config', 'return_kwargs', 'until', 'run_on_start']:
for item in ['range', 'when', 'once', 'once_fmt', 'cron',
'returner', 'after', 'return_config', 'return_kwargs',
'until', 'run_on_start']:
if item in kwargs:
schedule[name][item] = kwargs[item]