fixed cron an interval in json, added log
This commit is contained in:
parent
e1025fda6c
commit
b4641b15e1
2 changed files with 12 additions and 9 deletions
|
|
@ -71,9 +71,12 @@ def main():
|
|||
|
||||
while True:
|
||||
try:
|
||||
time.sleep(1)
|
||||
except error:
|
||||
print str(error)
|
||||
time.sleep(10)
|
||||
for job in jobs:
|
||||
log.d(str(job))
|
||||
|
||||
except:
|
||||
print "error"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue