Cronjob output to /dev/null

This commit is contained in:
Perflyst 2019-01-25 19:38:56 +01:00
parent 95b70eec1c
commit ae00a274ea
1 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,6 @@ $ exit
For regular maintenance you should add a cronjob for these commands For regular maintenance you should add a cronjob for these commands
```bash ```bash
@weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp" @weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp" > /dev/null
@weekly psql invidious -c "TRUNCATE TABLE videos" @weekly psql invidious -c "TRUNCATE TABLE videos" > /dev/null
``` ```