
To run all settings above (network, CPU, User idle, sleep schedule) in the one go and set the log-file path to "/home/$USER/sleep/log/Keep.Awake/" with detailed output: nohup. To run as background service and set the schedule to sleep/suspend after 1 hour (this value is only set if user-activity, cpu, and network traffic are all determined to be idle) : nohup. To run as background service and set minimum network traffic as 5KB (5120 bytes): nohup. To run as background service and set 15 min (900 sec) as the user activity idle time before it determines that the user is idle: nohup. To run as background service and set minimum CPU load as 13%: nohup.

NOSLEEP MOUSE MOVER MOD
You can view the code here for details or hints on how you can mod your code: Īlternatively you can just run keepawake.py on the Linux box you're running your cpu-intensive program on and it will solve your problem! It just works!

Periodically or just put logic once your program is done doing its thing to re-set the sleep config.
