pub async fn schedule(app: &App) -> ClResult<()>Expand description
Schedule the nightly run.
Reads core.db_maintenance_cron (default 20 4 * * * — 20 minutes after the
file GC’s default 4am slot, so the two do not overlap).
Note: the cron expression is read once during boot. Changing it at runtime
requires a process restart to take effect. core.vacuum_min_free_pct is
re-read on every tick.