parsing is finally done!
This commit is contained in:
parent
f1fedb163a
commit
e27f14a22a
3 changed files with 7 additions and 4 deletions
|
|
@ -66,4 +66,7 @@ class DatePeriod(Period):
|
|||
return ret
|
||||
|
||||
def createJob(self, scheduler, jobInfo, func):
|
||||
return scheduler.add_date_job(func, self.date, jobInfo)
|
||||
try:
|
||||
return scheduler.add_date_job(func=func, date=self.date, args=[jobInfo])
|
||||
except Exception, e:
|
||||
return None
|
||||
Loading…
Add table
Add a link
Reference in a new issue