mirror of
https://gitea.invidious.io/iv-org/documentation
synced 2024-12-22 23:58:23 +01:00
Cronjob output to /dev/null
This commit is contained in:
parent
95b70eec1c
commit
ae00a274ea
@ -16,6 +16,6 @@ $ exit
|
||||
|
||||
For regular maintenance you should add a cronjob for these commands
|
||||
```bash
|
||||
@weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp"
|
||||
@weekly psql invidious -c "TRUNCATE TABLE videos"
|
||||
@weekly psql invidious -c "DELETE FROM nonces * WHERE expire < current_timestamp" > /dev/null
|
||||
@weekly psql invidious -c "TRUNCATE TABLE videos" > /dev/null
|
||||
```
|
Loading…
Reference in New Issue
Block a user