mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 14:24:42 +02:00
feat(hermes-auto-improve): passe quotidienne complète à 22h (tous les docs)
- Ajout systemd timer hermes-auto-improve-daily.timer (22h00, Persistent=true) - Service oneshot : --all puis --daily-pr (TimeoutSec=7200 pour 28 fichiers) - auto-improve.py : flag --all qui bypass MAX_FILES et traite tout admin/ - trigger-server.py : timeout 600s → 7200s pour les runs --all via HTTP La rotation par batch (MAX_FILES=5) reste active pour les triggers n8n à la demande. Le workflow n8n 30-min doit être désactivé manuellement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3780c90804
commit
7d02efd9fa
6 changed files with 60 additions and 7 deletions
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Hermes Auto-Improve — Analyse quotidienne complète (tous les docs)
|
||||
After=network-online.target hermes-agent.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/hermes-auto-improve --all
|
||||
ExecStartPost=/usr/local/bin/hermes-auto-improve --daily-pr
|
||||
TimeoutSec=7200
|
||||
Environment=HOME=/root
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=hermes-auto-improve-daily
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Hermes Auto-Improve — Timer quotidien 22h00
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 22:00:00
|
||||
Persistent=true
|
||||
RandomizedDelaySec=300
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue