Bat file doesn't execute after queue finish

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
DennyDale
Newbie
Newbie
Posts: 3
Joined: April 15th, 2010, 6:38 pm

Bat file doesn't execute after queue finish

Post by DennyDale »

I've got a bat file in my scripts folder and set the option to run it after the queue finishes. However, it doesn't execute. The following is from the log file:

2010-10-13 09:10:18,108::INFO::[postproc:570] Queue has finished, launching: (MoveTV.bat)
2010-10-13 09:10:18,108::INFO::[__init__:597] Spawning external command D : \ D o w n l o a d s \ S A B n z b d \ S c r i p t s \ M o v e T V . b a t

I'm wondering if all the spaces in the command are actually being passed to the OS. That would obviously fail.
I'm running SABnzbd v0.5.4 on a Windows XP machine. I've run the script manually and it works fine. I've also added a line to the script to put a date/time stamp in a file each time it runs to verify it did or did not run.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Bat file doesn't execute after queue finish

Post by shypike »

Can you check in sabnzbd.ini what is the behind queue_complete = ?
It looks like each letter is passed as a separate argument.
DennyDale
Newbie
Newbie
Posts: 3
Joined: April 15th, 2010, 6:38 pm

Re: Bat file doesn't execute after queue finish

Post by DennyDale »

thanks for the help. Here are the first few lines from the .ini file:
__version__ = 18
[misc]
queue_complete = script_MoveTV.bat

Denny
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Bat file doesn't execute after queue finish

Post by shypike »

This is a totally weird situation.
I hope I can reproduce it, otherwise it will be impossible to fix.
I may get back to you for more info.
DennyDale
Newbie
Newbie
Posts: 3
Joined: April 15th, 2010, 6:38 pm

Re: Bat file doesn't execute after queue finish

Post by DennyDale »

I'll check a couple of times a day to see if there's anything else I can do. Thanks again for the help.

Denny
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Bat file doesn't execute after queue finish

Post by shypike »

You can click the "Notify" button at the bottom of the page.
This will give you email notifications of postings in this topic..
Post Reply