Search found 3 matches
- February 21st, 2011, 2:24 pm
- Forum: Beta Releases
- Topic: Running as a Service (You dont need a service to control the service)
- Replies: 4
- Views: 2251
Re: Running as a Service (You dont need a service to control the service)
Also Scheduled task are normally used a favour of windows services. (They are exceptions to this rule) In Windows 7 just have a look at how many they are. I use Scheduled tasks to control SAB, Sick (2 copies, one for HD and one for SD) and CP. You could have a scheduled task to start every so often...
- February 21st, 2011, 2:11 pm
- Forum: Beta Releases
- Topic: Running as a Service (You dont need a service to control the service)
- Replies: 4
- Views: 2251
Re: Running as a Service (You dont need a service to control the service)
All services will restart if they exit with a value of 1 or more. Services can be setup to restart if they 'crash' this is a windows service feature. You could spin a separate thread to monitor the main sab thread. (I have used this approach many times). PS I come from a pure windows programming bac...
- February 21st, 2011, 12:33 pm
- Forum: Beta Releases
- Topic: Running as a Service (You dont need a service to control the service)
- Replies: 4
- Views: 2251
Running as a Service (You dont need a service to control the service)
Because a Windows Service cannot restart itself, we created the SABHelper service. It is controlled in the same way as SABnzbd-service.exe, only it needs no additional parameters. The service SABHelper will be created. Note that this service (unlike SABnzbd) needs to be run as "Local System&quo...