Autopause Handbreak Script


Recommended Posts

So if you're here for the script this is what I've come up with. I'm using user scripts plugin and running it every 4hrs and then pausing for 10min. In user scripts I have a custom cron set for this script to 0 */4 * * *

docker pause <YOUR DOCKER CONTAINER HERE ID>
sleep 10m
docker unpause <YOUR DOCKER CONTAINER HERE ID>

My reasoning behind this is when Handbreak is running my system sets at 100% utilization. So I thought to give the hardware a break I could run a script that auto pauses and then resumes the docker.

 

The Question: Does this even make a difference. I mean the cpu isn't getting hit for the 10 min but should I even worry about it.

Edited by SaltyCapn
Spelling
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.