Page 1 of 1

Bat file doesn't execute after queue finish

Posted: October 13th, 2010, 9:34 am
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.

Re: Bat file doesn't execute after queue finish

Posted: October 13th, 2010, 11:40 am
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.

Re: Bat file doesn't execute after queue finish

Posted: October 14th, 2010, 8:28 am
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

Re: Bat file doesn't execute after queue finish

Posted: October 14th, 2010, 12:40 pm
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.

Re: Bat file doesn't execute after queue finish

Posted: October 14th, 2010, 7:48 pm
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

Re: Bat file doesn't execute after queue finish

Posted: October 15th, 2010, 8:55 am
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..