Skip to content
Browse files

fixed shutdown function in scheduler.py

  • Loading branch information...
1 parent e582be4 commit 6eb5b7f986466eb3eb1367f72880850215db50c0 @robweber committed Dec 30, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 scheduler.py
View
3 scheduler.py
@@ -49,7 +49,7 @@ def start(self):
if(utils.getSetting("cron_shutdown") == 'true'):
#wait 10 seconds to make sure all backup processes and files are completed
time.sleep(10)
- xbmc.executebuiltin('Quit()')
+ xbmc.executebuiltin('ShutDown()')
else:
#find the next run time like normal
self.findNextRun(now,True)
@@ -90,7 +90,6 @@ def parseSchedule(self):
hour_of_day = int(hour_of_day[0:2])
if(schedule_type == 0):
#every day
-
cron_exp = "0 " + str(hour_of_day) + " * * *"
elif(schedule_type == 1):
#once a week

0 comments on commit 6eb5b7f

Please sign in to comment.
Something went wrong with that request. Please try again.