This commit is contained in:
lluni 2023-08-02 00:02:51 +02:00
parent 3347b83334
commit 220cc7f7fa
Signed by: lluni
GPG key ID: ACEEB468BC325D35

View file

@ -24,4 +24,4 @@
/absolute/path/to/conda run -n reddit python script.py /absolute/path/to/conda run -n reddit python script.py
``` ```
6. Open the a (user) cronjob editor with `crontab -e` and add the line `0 * * * * /absolute/path/to/post_toots.sh > /dev/null 2>&1`. This cronjob runs hourly and the command outputs are not mailed to the user. Alternatively, `2>&1` can be ommited for debugging purposes if the error outputs should be mailed to the user. 6. Open the (user) cronjob editor with `crontab -e` and add the line `0 * * * * /absolute/path/to/post_toots.sh > /dev/null 2>&1`. This cronjob runs hourly and the command outputs are not mailed to the user. Alternatively, `2>&1` can be ommited for debugging purposes if the error outputs should be mailed to the user.