mirror of
https://github.com/iv-org/documentation.git
synced 2025-06-07 06:22:49 -04:00
Cronjob output to /dev/null
This commit is contained in:
parent
95b70eec1c
commit
ae00a274ea
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
```
|
```
|
Loading…
Add table
Add a link
Reference in a new issue