From 1012c7bd693fb332cdbd8aec16279c814ef7bd46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drix?= Date: Sun, 27 Sep 2026 12:57:24 +0200 Subject: [PATCH] =?UTF-8?q?Corriger=20les=20chemins=20apr=C3=A8s=20le=20d?= =?UTF-8?q?=C3=A9m=C3=A9nagement=20depuis=20infra/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le script et son cron ne vivent plus sous infra/ : les deux commandes de docs/sauvegardes.md pointaient vers un dossier qui n'existe plus. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01SFbwnJurBwTs7x7t93ecku --- docs/sauvegardes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sauvegardes.md b/docs/sauvegardes.md index 7cfe61f..39d247f 100644 --- a/docs/sauvegardes.md +++ b/docs/sauvegardes.md @@ -40,7 +40,7 @@ l'un d'eux manquera. ## Lancer ```sh -cd ~/Projects/org.alpinux.owni/infra +cd ~/Projects/org.alpinux.owni ./scripts/sauvegarder-owni.sh --essai # montre, n'écrit rien ./scripts/sauvegarder-owni.sh ``` @@ -48,7 +48,7 @@ cd ~/Projects/org.alpinux.owni/infra En cron, sur le poste — `crontab -e` : ```cron -30 3 * * * cd $HOME/Projects/org.alpinux.owni/infra && ./scripts/sauvegarder-owni.sh >> $HOME/Sauvegardes/owni/journal.txt 2>&1 +30 3 * * * cd $HOME/Projects/org.alpinux.owni && ./scripts/sauvegarder-owni.sh >> $HOME/Sauvegardes/owni/journal.txt 2>&1 ``` Le poste doit être allumé à 3 h 30. S'il ne l'est pas, la nuit est sautée :