mirror of
https://github.com/brockar/NVML-GPU-Control.git
synced 2026-01-12 07:20:58 -03:00
Merge pull request #7 from brockar/master
Add my GHUser and fix crontab
This commit is contained in:
@@ -365,16 +365,16 @@ Reload service
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
##### Crontab (contributed by user on Reddit: [Brockar](https://www.reddit.com/r/wayland/comments/1arjtxj/comment/my4yfio/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button))
|
||||
##### Crontab (contributed by user on Reddit: [Brockar](https://www.reddit.com/r/wayland/comments/1arjtxj/comment/my4yfio/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button) / [@brockar](https://github.com/brockar)
|
||||
|
||||
1. Edit root's crontab (this ensures that the command will run as root)
|
||||
```
|
||||
sudo crontab -e
|
||||
```
|
||||
sudo crontab -e
|
||||
```
|
||||
|
||||
2. Add the command (make the changes you want here)
|
||||
```
|
||||
@reboot /usr/bin/python3 /usr/bin/User\_NVIDIA\_GPU\_Control/nvml\_gpu\_control.py control-all -n "GPU\_NAME" -pl 290 -tl 65 -sp "0:50,36:55,40:75,45:100"
|
||||
@reboot /usr/bin/python3 /usr/bin/User_NVIDIA_GPU_Control/nvml_gpu_control.py control-all -n "GPU_NAME" -pl 290 -tl 65 -sp "0:50,36:55,40:75,45:100"
|
||||
```
|
||||
|
||||
## Security considerations
|
||||
|
||||
Reference in New Issue
Block a user