Page 1 of 1

Schedules failing

Posted: April 21st, 2009, 3:51 am
by squatter
I think this started happening a few versions back, but my schedule to resume downloads is regularly failing to run. Usually a restart of SABnzbd fixes it but this is very annoying as it worked 100% in the past.

0.4.9 on Mac OS X. I regularly put the machine to sleep and rarely reboot.

Config:
schedlines = "0 8 * pause ", "30 9 * pause ", "50 23 * resume ", "55 23 * resume "

Here's the logs around the time of the schedule:
2009-04-20 21:45:42,996::INFO::[sabnzbd] /Users/XXX/.sabnzbd/cache/SABnzbd_nzf_sBQmW9 removed
2009-04-20 21:45:43,009::INFO::[nzbqueue] Saving queue
2009-04-20 21:45:43,009::INFO::[sabnzbd] Saving data for SABnzbd_nzo_TmcIgc in /Users/XXX/.sabnzbd/cache/SABnzbd_nzo_
TmcIgc
2009-04-20 21:45:43,016::INFO::[sabnzbd] Saving data for queue7.sab in /Users/XXX/.sabnzbd/cache/queue7.sab
2009-04-20 22:40:00,229::INFO::[sabnzbd] Saving data for rss_data.sab in /Users/XXX/.sabnzbd/cache/rss_data.sab
2009-04-20 23:40:00,251::INFO::[sabnzbd] Saving data for rss_data.sab in /Users/XXX/.sabnzbd/cache/rss_data.sab
2009-04-21 00:40:00,245::INFO::[sabnzbd] Saving data for rss_data.sab in /Users/XXX/.sabnzbd/cache/rss_data.sab
2009-04-21 01:40:00,215::INFO::[sabnzbd] Saving data for rss_data.sab in /Users/XXX/.sabnzbd/cache/rss_data.sab


Checking my logs the [Pausing] schedules appear to work every time.

Re: Schedules failing

Posted: April 21st, 2009, 4:01 am
by shypike
21:45 is not "around time time of the schedule".
What you see is probably "end-of-queue".
Is the "resume" scheduled during the sleeping period?

Re: Schedules failing

Posted: April 21st, 2009, 4:05 am
by squatter
I don't understand, the resume schedules are 23:50 and 23:55 and the log covers 21:45 to 01:40. The Mac was not sleeping during this time period (as you can see it is writing to the log). The queue isn't empty, there is a download waiting.