Schedule ignored on SABnzbd startup

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
PumpkinEater
Newbie
Newbie
Posts: 3
Joined: November 13th, 2012, 1:58 pm

Schedule ignored on SABnzbd startup

Post by PumpkinEater »

At the moment I run SABnzbd manually at times that suit me, but I plan to run SABnzbd as an automatic service on a headless machine and so the Schedule feature looks useful. However, I cannot get the Schedule to do what I want. Either I'm misunderstanding how it's supposed to work (more likely), or there's something wrong with it (less likely).

Version: 0.7.6Beta1
Install-type: Linux repository jcfp/ppa
OS: Linux Mint Maya 32-bit
Skin: smpl - black
Firewall Software: None (using separate hardware firewall)
IPv6: No
Reproducible? Yes (for me, at least)

According to both http://wiki.sabnzbd.org/configure-scheduling and http://sabnzbd.wikidot.com/configure-scheduling-0-7, on startup, SABnzbd will evaluate all schedules and determine the current pause/resume state (italics mine).

I want to set up the following schedule: download between midnight and 08:00 Monday to Friday, and all day/night on Saturday and Sunday. Or, in other words, do not download between 08:00 and midnight on weekdays.

I've currently configured the following schedule:
08:00 Weekdays Pause
00:01 Daily Resume

I've also tried:
08:00 Weekdays Pause
00:01 Tuesday, Wednesday, Thursday, Friday, Saturday Resume

Neither schedule works. As soon as SABnzbd is launched manually the queue starts downloading regardless of the day or time.

If I understand the Scheduling page of the wiki correctly, launching SABnzbd at 18:00 on a Tuesday evening should cause the download queue to pause immediately, because 18:00 on a Tuesday falls between 08:00 on one weekday (Pause) and 00:01 the following weekday (Resume).

So what's going wrong? Am I not understanding how the Schedule function works? Is the Schedule function broken?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Schedule ignored on SABnzbd startup

Post by shypike »

Silly mistake when we added multiple days per schedule.
The evaluation at startup wasn't changed accordingly.
Will be fixed in 0.7.6.

Temp work-around: use schedules with just one day active.
Yes, you'll need a lot of schedules :(
PumpkinEater
Newbie
Newbie
Posts: 3
Joined: November 13th, 2012, 1:58 pm

Re: Schedule ignored on SABnzbd startup

Post by PumpkinEater »

Thank you for the explanation. Setting individual schedules for each day works. I'll test it again when 0.7.6 is released.
PumpkinEater
Newbie
Newbie
Posts: 3
Joined: November 13th, 2012, 1:58 pm

Re: Schedule ignored on SABnzbd startup

Post by PumpkinEater »

I've just had a chance to test it; the schedule is now behaving as expected. Thank you for fixing it.
Post Reply