mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-28 09:38:31 +00:00
Cronjob output to /dev/null
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