mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-19 17:25:24 +00:00
Add a generic job scheduler
Also rewrite deletion of old sends using the job scheduler.
This commit is contained in:
parent
a82c04910f
commit
73ff8d79f7
9 changed files with 126 additions and 31 deletions
|
@ -56,6 +56,19 @@
|
|||
# WEBSOCKET_ADDRESS=0.0.0.0
|
||||
# WEBSOCKET_PORT=3012
|
||||
|
||||
## Job scheduler settings
|
||||
##
|
||||
## Job schedules use a cron-like syntax (as parsed by https://crates.io/crates/cron),
|
||||
## and are always in terms of UTC time (regardless of your local time zone settings).
|
||||
##
|
||||
## How often (in ms) the job scheduler thread checks for jobs that need running.
|
||||
## Set to 0 to globally disable scheduled jobs.
|
||||
# JOB_POLL_INTERVAL_MS=30000
|
||||
##
|
||||
## Cron schedule of the job that checks for Sends past their deletion date.
|
||||
## Defaults to hourly. Set blank to disable this job.
|
||||
# SEND_PURGE_SCHEDULE="0 0 * * * *"
|
||||
|
||||
## Enable extended logging, which shows timestamps and targets in the logs
|
||||
# EXTENDED_LOGGING=true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue