mirror of
https://github.com/iv-org/documentation.git
synced 2025-01-08 13:58:07 -05: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