Scheduling not working after sleep mode
Posted: May 5th, 2012, 3:47 pm
I have configured my HTPC as follows:
02:45AM: Windows task: Exit standby
03:05AM: Sabnzbd schedule: Resume
05:50AM: Sabnzbd schedule: Pause All
06:00AM: Windows task: Standby PC
Now this seems like something that has to work, and it seems to, partly.
In the sanbzbd log I can see these entry's:
So i would expect one of the next entries to mention the resume task at 03:05AM, but nothing happens.
The exit standby and standby tasks work, hence the log entries and the fact that the system is back in standby mode in the morning.
Also the pause task works, as I have just left it on at some point and went to bed, and woke up to an empty queue, paused and all.
I have tried to schedule the same tasks at a time the system is on.
This seems to work fine as i can see in the log:
So the question is, what the .. is going on here?
02:45AM: Windows task: Exit standby
03:05AM: Sabnzbd schedule: Resume
05:50AM: Sabnzbd schedule: Pause All
06:00AM: Windows task: Standby PC
Now this seems like something that has to work, and it seems to, partly.
In the sanbzbd log I can see these entry's:
Code: Select all
2012-05-04 02:49:33,585::INFO::[rss:484] Starting scheduled RSS read-out
2012-05-04 02:49:33,766::INFO::[rss:338] Failed to retrieve RSS from http://beta.nzbs.org/rss?t=-2&dl=1&i=737&r=099d605d627d5a0fd97d120b00cc4e05&del=1: <urlopen error (11004, 'getaddrinfo failed')>
2012-05-04 02:49:48,779::INFO::[__init__:846] Saving data for rss_data.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\rss_data.sab
2012-05-04 02:49:48,792::INFO::[rss:498] Finished scheduled RSS read-outThe exit standby and standby tasks work, hence the log entries and the fact that the system is back in standby mode in the morning.
Also the pause task works, as I have just left it on at some point and went to bed, and woke up to an empty queue, paused and all.
I have tried to schedule the same tasks at a time the system is on.
This seems to work fine as i can see in the log:
Code: Select all
2012-05-05 22:31:18,559::DEBUG::[scheduler:172] Starting scheduler
2012-05-05 22:33:00,000::INFO::[downloader:194] Resuming
2012-05-05 22:33:00,000::DEBUG::[__init__:479] PAUSED_ALL inactive
2012-05-05 22:35:00,000::INFO::[downloader:203] Pausing
2012-05-05 22:35:00,000::INFO::[nzbqueue:170] Saving queue
2012-05-05 22:35:00,401::INFO::[__init__:846] Saving data for queue9.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\queue9.sab
2012-05-05 22:35:00,404::INFO::[__init__:846] Saving data for totals9.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\totals9.sab
2012-05-05 22:35:00,405::INFO::[__init__:846] Saving data for rss_data.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\rss_data.sab
2012-05-05 22:35:00,414::INFO::[__init__:846] Saving data for bookmarks.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\bookmarks.sab
2012-05-05 22:35:00,417::INFO::[__init__:846] Saving data for watched_data.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\watched_data.sab
2012-05-05 22:35:00,418::INFO::[postproc:83] Saving postproc queue
2012-05-05 22:35:00,420::INFO::[__init__:846] Saving data for postproc1.sab in C:\Users\Media\AppData\Local\sabnzbd\admin\postproc1.sab
2012-05-05 22:35:00,421::DEBUG::[__init__:471] PAUSED_ALL active