You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tl.job(interval=timedelta(seconds=10))
def sample_job_every_10s():
try:
print "10s job current time : {}".format(time.ctime())
except Exception as e:
print(e)
pass
Assume that there is an error and successfully catched by try except. The timeloop job is stopped, and not rechecking after 10s.
So, can I restart the timeloop job again? How?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Assume that there is an error and successfully catched by try except. The timeloop job is stopped, and not rechecking after 10s.
So, can I restart the timeloop job again? How?
Thanks in advance.
The text was updated successfully, but these errors were encountered: