2012-10-24, 15:15
I wanted to post this under off-topic but can't open thread there.
I am pitting together a script. It will be active over night.
It will be active every 10 minutes. It will check if sabnzbd+ is downloading something,
or is it doing enything with downloaded files (lets say unpacking for example).
If queue is empty and sab is idle it will update video library and suspend system.
I have Sickbeard and Couchpotato on same machine, they do all post processing of
downloaded files. One thing I would not want to do is suspend system if CP or SB are doing something.
Can anbody just tell me if I use "pm-suspend" command in python script.
will it wait for processes to finish before suspend or not.
Thank you.
I am pitting together a script. It will be active over night.
It will be active every 10 minutes. It will check if sabnzbd+ is downloading something,
or is it doing enything with downloaded files (lets say unpacking for example).
If queue is empty and sab is idle it will update video library and suspend system.
I have Sickbeard and Couchpotato on same machine, they do all post processing of
downloaded files. One thing I would not want to do is suspend system if CP or SB are doing something.
Can anbody just tell me if I use "pm-suspend" command in python script.
will it wait for processes to finish before suspend or not.
Thank you.