Skip to content

Commit 7ec856c

Browse files
committed
Update Readme
1 parent a8a08f5 commit 7ec856c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ To set up CDMClient as a systemd service, execute the following commands:
4242
sudo systemctl start cdm-client.service
4343
```
4444

45+
### Add automatic update (optional)
46+
To keep CDMClient updated automatically, you can add a cron job. Run:
47+
```shell
48+
crontab -e
49+
```
50+
Then add the following line to the crontab file:
51+
```shell
52+
0 3 * * * /usr/bin/python3 -m pip install --upgrade CDMClient --user && systemctl restart cdm-client.service
53+
```
54+
4555
## Configuration
4656
The configuration file is located at:
4757
```~/.config/cdm_client/config.ini```

0 commit comments

Comments
 (0)