Adding the job name the log message so we know what job was skipped.

This commit is contained in:
Gareth J. Greenaway 2015-01-15 09:04:26 -08:00
parent afbb0736fc
commit 16c69592bd

View File

@ -607,7 +607,8 @@ class Schedule(object):
until = int(time.mktime(until__.timetuple()))
if until <= now:
log.debug('Until time has passed skipping job.')
log.debug('Until time has passed '
'skipping job: {0}.'.format(data['name']))
continue
for item in ['seconds', 'minutes', 'hours', 'days']: