Scheduler won't work

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
wiggy
Newbie
Newbie
Posts: 3
Joined: October 27th, 2011, 8:43 pm

Scheduler won't work

Post by wiggy »

Hi All,

Somebody on the live chat asked my to run a debug of when my sab is scheduling a task as nothing was happening no matter what I set up in the scheduler.

Here's the output - Keeping in mind the schedule didn't act as instructed...

2011-10-28 12:25:53,780::INFO::[panic:243] Lauching browser with http://localhost:8080/sabnzbd
2011-10-28 12:25:59,796::INFO::[sabnzbd:1421] Starting SABnzbd.exe-0.6.10
2011-10-28 12:25:59,796::INFO::[dirscanner:263] Dirscanner starting up
2011-10-28 12:25:59,796::INFO::[urlgrabber:75] URLGrabber starting up
2011-10-28 12:27:05,812::DEBUG::[scheduler:199] Stopping scheduler
2011-10-28 12:27:07,421::DEBUG::[scheduler:267] Schedule check result = (1, 'resume', None, '28 12 * resume ')
2011-10-28 12:27:07,421::INFO::[downloader:194] Resuming
2011-10-28 12:27:07,421::DEBUG::[__init__:479] PAUSED_ALL inactive
2011-10-28 12:27:07,421::DEBUG::[scheduler:123] scheduling resume([]) on days [1, 2, 3, 4, 5, 6, 7] at 12:28
2011-10-28 12:27:07,421::DEBUG::[scheduler:136] Scheduling RSS interval task every 60 min (delay=26)
2011-10-28 12:27:07,421::DEBUG::[scheduler:147] Scheduling VersionCheck on day 2 at 19:17
2011-10-28 12:27:07,421::DEBUG::[scheduler:172] Starting scheduler
2011-10-28 12:27:40,421::DEBUG::[scheduler:199] Stopping scheduler
2011-10-28 12:27:42,421::DEBUG::[scheduler:267] Schedule check result = (1, 'resume', None, '28 12 * resume ')
2011-10-28 12:27:42,421::DEBUG::[scheduler:267] Schedule check result = (3, 'pause_all', None, '30 12 * pause_all ')
2011-10-28 12:27:42,421::INFO::[downloader:203] Pausing
2011-10-28 12:27:42,421::INFO::[nzbqueue:167] Saving queue
2011-10-28 12:27:42,421::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_mlqyhv in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,453::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_dzl08x in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,467::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_gznfaq in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,483::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_h-f5qo in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,530::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_fu5auv in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,530::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_qkcz_g in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,546::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_4gu__6 in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,578::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_dhfhpr in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,592::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_juf8if in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,625::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_b0ieiz in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,671::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_pqfvyk in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,671::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_c6kotm in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,703::DEBUG::[__init__:769] Saving data for SABnzbd_nzo__zsy3h in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,733::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_i5av-d in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,750::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_ansyp2 in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,765::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_tcnibg in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for queue9.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\queue9.sab
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for totals9.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\totals9.sab
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for rss_data.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\rss_data.sab
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for bookmarks.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\bookmarks.sab
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for watched_data.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\watched_data.sab
2011-10-28 12:27:42,812::INFO::[postproc:83] Saving postproc queue
2011-10-28 12:27:42,812::INFO::[__init__:838] Saving data for postproc1.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\postproc1.sab
2011-10-28 12:27:42,812::DEBUG::[__init__:471] PAUSED_ALL active
2011-10-28 12:27:42,812::DEBUG::[scheduler:123] scheduling resume([]) on days [1, 2, 3, 4, 5, 6, 7] at 12:28
2011-10-28 12:27:42,812::DEBUG::[scheduler:123] scheduling pause_all([]) on days [1, 2, 3, 4, 5, 6, 7] at 12:30
2011-10-28 12:27:42,812::DEBUG::[scheduler:136] Scheduling RSS interval task every 60 min (delay=38)
2011-10-28 12:27:42,812::DEBUG::[scheduler:147] Scheduling VersionCheck on day 5 at 21:23
2011-10-28 12:27:42,812::DEBUG::[scheduler:172] Starting scheduler
2011-10-28 12:28:00,000::INFO::[downloader:194] Resuming
2011-10-28 12:28:00,000::DEBUG::[__init__:479] PAUSED_ALL inactive
2011-10-28 12:30:00,000::INFO::[downloader:203] Pausing
2011-10-28 12:30:00,000::INFO::[nzbqueue:167] Saving queue
2011-10-28 12:30:00,000::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_mlqyhv in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,015::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_dzl08x in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,015::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_gznfaq in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,015::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_h-f5qo in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,030::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_fu5auv in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,030::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_qkcz_g in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,046::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_4gu__6 in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,062::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_dhfhpr in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,092::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_juf8if in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,108::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_b0ieiz in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,108::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_pqfvyk in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,125::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_c6kotm in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,155::DEBUG::[__init__:769] Saving data for SABnzbd_nzo__zsy3h in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,155::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_i5av-d in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,155::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_ansyp2 in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,155::DEBUG::[__init__:769] Saving data for SABnzbd_nzo_tcnibg in D:\Documents and Settings\blahblah\__ADMIN__
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for queue9.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\queue9.sab
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for totals9.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\totals9.sab
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for rss_data.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\rss_data.sab
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for bookmarks.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\bookmarks.sab
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for watched_data.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\watched_data.sab
2011-10-28 12:30:00,171::INFO::[postproc:83] Saving postproc queue
2011-10-28 12:30:00,171::INFO::[__init__:838] Saving data for postproc1.sab in D:\Documents and Settings\WigGy\Local Settings\Application Data\sabnzbd\admin\postproc1.sab
2011-10-28 12:30:00,171::DEBUG::[__init__:471] PAUSED_ALL active
2011-10-28 12:30:00,171::INFO::[downloader:610] Thread 1@ssl.astraweb.com:563: forcing disconnect
2011-10-28 12:30:00,171::INFO::[downloader:610] Thread 2@ssl.astraweb.com:563: forcing disconnect
2011-10-28 12:30:00,171::INFO::[downloader:610] Thread 3@ssl.astraweb.com:563: forcing disconnect
2011-10-28 12:30:00,171::INFO::[downloader:610] Thread 4@ssl.astraweb.com:563: forcing disconnect
2011-10-28 12:30:00,171::INFO::[downloader:610] Thread 5@ssl.astraweb.com:563: forcing disconnect
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Scheduler won't work

Post by shypike »

So, what's wrong?
It executes the pause_all at the correct time.
wiggy
Newbie
Newbie
Posts: 3
Joined: October 27th, 2011, 8:43 pm

Re: Scheduler won't work

Post by wiggy »

Hi - The problem is that it won't "resume"

Queued items begin in Paused state, I use the scheduler to resume them (which doesn't work).
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Scheduler won't work

Post by shypike »

"Resume" means that the overall pause is terminated.
There is no way to start individually paused items from the scheduler.
Also "pause_all" does not mean that "all jobs" are paused.
It means that the overall pause is enabled and that all disk access stops
(including RSS and watched folder reading).
wiggy
Newbie
Newbie
Posts: 3
Joined: October 27th, 2011, 8:43 pm

Re: Scheduler won't work

Post by wiggy »

shypike - thanks for that clarity! Tried it out with that in mind, and it worked as advertised!
I really appreciate the guidance, a good support community makes people coming back!

Best Regards,

Wiggy
Post Reply