mjlab/scripts/benchmarks/systemd/mjlab-nightly.timer
Upstream Snapshot 32a241c28f
Some checks failed
nightly / Test against latest dependencies (py3.10) (push) Has been cancelled
nightly / Test against latest dependencies (py3.13) (push) Has been cancelled
tests / tests (3.13, locked) (push) Has been cancelled
tests / tests (3.13, unlocked) (push) Has been cancelled
tests / pyright (3.10) (push) Has been cancelled
tests / lint-format (push) Has been cancelled
tests / tests (3.10, locked) (push) Has been cancelled
tests / tests (3.11, locked) (push) Has been cancelled
tests / tests (3.12, locked) (push) Has been cancelled
tests / pyright (3.11) (push) Has been cancelled
tests / pyright (3.12) (push) Has been cancelled
tests / pyright (3.13) (push) Has been cancelled
tests / ty-check (3.10) (push) Has been cancelled
tests / ty-check (3.11) (push) Has been cancelled
tests / ty-check (3.12) (push) Has been cancelled
tests / ty-check (3.13) (push) Has been cancelled
tests / stubs (push) Has been cancelled
tests / smoke-test (push) Has been cancelled
Docker / check_paths (push) Has been cancelled
docs / build (push) Has been cancelled
Docker / build (push) Has been cancelled
Import upstream snapshot c19f713c415a699a79d71cd96aa13c3104a05047
Upstream: https://github.com/michaelgillett/mjlab
Upstream-Commit: c19f713c415a699a79d71cd96aa13c3104a05047
Upstream-Branch: main
2026-08-28 15:42:17 +08:00

29 lines
714 B
SYSTEMD

# mjlab Nightly Benchmark Timer
#
# This timer triggers the nightly training run.
# Default: 2:00 AM daily
#
# Installation:
# 1. Copy to ~/.config/systemd/user/mjlab-nightly.timer
# 2. Enable: systemctl --user enable mjlab-nightly.timer
# 3. Start: systemctl --user start mjlab-nightly.timer
#
# Check status: systemctl --user list-timers
# Check next run: systemctl --user status mjlab-nightly.timer
[Unit]
Description=Run mjlab nightly benchmarks
[Timer]
# Run at 2:00 AM every day
OnCalendar=*-*-* 02:00:00
# Add randomized delay up to 30 minutes to avoid thundering herd
RandomizedDelaySec=1800
# If missed (e.g., machine was off), run on next boot
Persistent=true
[Install]
WantedBy=timers.target