Just one action available "On 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
znab
Newbie
Newbie
Posts: 8
Joined: February 23rd, 2009, 1:28 pm

Just one action available "On queue finish:"

Post by znab »

Hello,

I have installed SABnzbd+ version 0.4.6 on Antix (Debian linux distro, as they say ubuntu based, but that is above my knowledge of linux) and start it with a click on SABnzbd.py
Formerly I used SABnzbd on a Windows machine and there was a choice to shut down the PC after the queue has finished. And this worked fine.
Now I only have the choice to "Shutdown SABnzbd". I can not figure out why the choices are limited to just one. Antix is able to shut down my PC.
I know a bit of Linux. If you would describe in clear steps what to do I think I can perform the steps. Thanks for any help.

znab
greetz,

znab

SAnzbd+ 0.4.6 on Antix M8.5
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Just one action available "On queue finish:"

Post by shypike »

The reason we don't support anything else is that there's
no consistency about power management among Unix/Linux distributions.
For us anything not Windows or OSX is just a Posix-compatible system.

Your best bet is to write a user script that does the required standby or shutdown action.
If you configure and provide user scripts, they will be available as end-of-queue actions.
(See also: http://sabnzbd.wikidot.com/user-scripts)
znab
Newbie
Newbie
Posts: 8
Joined: February 23rd, 2009, 1:28 pm

Re: Just one action available "On queue finish:"

Post by znab »

shypike wrote: Your best bet is to write a user script that does the required standby or shutdown action.
If you configure and provide user scripts, they will be available as end-of-queue actions.
(See also: http://sabnzbd.wikidot.com/user-scripts)
Ok, I understand the reason. I've been reading the scripts part and although I know VBA I would not know how to write a script that shuts downs my PC.
Any example or direction to examples?

Thanks for SABnzbd and your answer(s).
greetz,

znab

SAnzbd+ 0.4.6 on Antix M8.5
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Just one action available "On queue finish:"

Post by shypike »

VBA for a Unix system?  ;D

You need a shell script with a call to /sbin/shutdown and give it the right parameters.
(And that's where things get different for the variousl Posix distros).
Post Reply