fix crontab for virtual environment

This commit is contained in:
Ace
2023-01-23 20:25:17 +01:00
committed by GitHub
parent 0f81d5ba02
commit c57c628d79

View File

@@ -98,7 +98,7 @@ python3 inky_run.py
## Running on each boot ## Running on each boot
To make inkycal run on each boot automatically, you can use crontab. Do not use sudo for this To make inkycal run on each boot automatically, you can use crontab. Do not use sudo for this
```bash ```bash
(crontab -l ; echo "@reboot sleep 60 && cd $HOME/Inkycal && source venv/bin/activate && python3 inky_run.py &")| crontab - (crontab -l ; echo "@reboot sleep 60 && cd $HOME/Inkycal && venv/bin/python inky_run.py &")| crontab -
``` ```
## Updating Inkycal ## Updating Inkycal