I am running 2 instances of SABNzbd .. one i start as a service (witch now worl fine)
and i have created a sceduled task staring @ systemstarts .. user SYSTEM.
This woked an all versions 2.xx .. but now ..it will start but can's acess it ..over teh port i specified in the sceduled task.
If i sart it manually (same call) it will start as it should!!
Hera are the command i use:
Target: "C:\Program Files\SABnzbd\SABnzbd.exe" --new --daemon --server 0.0.0.0:8899 -f "D:\ServerFolders\SABnzbd\ini\sabnzbd1.ini"
Start in / Working dir: "C:\Program Files\sabnzbd"
It worked with 2.9xx Versions but with 3.0 / beta 4 it won't stat as expected...
here is the sceduled task i use:
Code: Select all
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Date>2012-12-14T13:15:21.8727859</Date>
<Author>MaK</Author>
<Description>Startet SABnzbd1 auf Port 8899 beim Systemstart ini in D:\ServerFolders\SABnzbd\ini\sabnzbd1.ini</Description>
<URI>\SABnzbd_beim_start_working 64bit</URI>
</RegistrationInfo>
<Triggers>
<BootTrigger>
<Enabled>true</Enabled>
<Delay>PT30S</Delay>
</BootTrigger>
</Triggers>
<Principals>
<Principal id="Author">
<UserId>S-1-5-18</UserId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>false</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
<Priority>7</Priority>
<RestartOnFailure>
<Interval>PT1M</Interval>
<Count>5</Count>
</RestartOnFailure>
</Settings>
<Actions Context="Author">
<Exec>
<Command>"C:\Program Files\sabnzbd\SABnzbd.exe"</Command>
<Arguments>--new --deamon --server 0.0.0.0:8899 -f "D:\ServerFolders\SABnzbd\ini\sabnzbd1.ini"</Arguments>
<WorkingDirectory>C:\Program Files\Sabnzbd</WorkingDirectory>
</Exec>
</Actions>
</Task>
it seems that the <Arguments> will be ignored.
maybe u can have a look @ it
Thanks
Mark_Muc