diff options
author | TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> | 2024-10-21 00:53:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-20 23:53:23 +0100 |
commit | 57ac7cb4db63dee8e06d696ef6f973c337467040 (patch) | |
tree | 2167e5f389cb4cdee4ec1f8cdcfd74ce820a32d8 /docs | |
parent | 8cb2b801e948564223ee97bef25a6b53f3f1ad9b (diff) |
Update the cron file name.
name
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL | 8 | ||||
-rw-r--r-- | docs/INSTALL.fr | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/INSTALL b/docs/INSTALL index 01f04e829..305295331 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -111,17 +111,17 @@ Note: You should also read the README and FAQ files! A crontab entry will allow you to check periodically whether Anope is still running, and restart it if not. - First rename the example.chk script that is in Anope path (by default, - this is ~/anope/conf) to anope.chk and edit it. You'll need to + First rename the cron.example.sh script that is in Anope path (by default, + this is ~/anope/conf) to cron.sh and edit it. You'll need to modify the CONFIGURATION part of the file. Then ensure that the file is - marked as executable by typing chmod +x anope.chk, and try to launch the + marked as executable by typing chmod +x cron.sh, and try to launch the script to see if it works (Anope must not be running when you do this ;)) When this is done, you'll have to add the crontab entry. Type crontab -e. This will open the default text editor with the crontab file. Enter the following (with correct path): - */5 * * * * /home/ircd/anope/conf/anope.chk >/dev/null 2>&1 + */5 * * * * /home/ircd/anope/conf/cron.sh >/dev/null 2>&1 The */5 at the beginning means "check every 5 minutes". You may replace the 5 with other another number if you want (but less than 60). Consult diff --git a/docs/INSTALL.fr b/docs/INSTALL.fr index b27b32187..e8cfd8feb 100644 --- a/docs/INSTALL.fr +++ b/docs/INSTALL.fr @@ -121,11 +121,11 @@ Note : Vous devrez également lire les fichiers README et FAQ ! Une entrée crontab vous permettra de vérifier périodiquement si Anope est toujours en cours d'exécution et de le redémarrer s'il n'est pas. - D'abord renommez le script example.chk qui est dans les dossiers - d'Anope (par défaut, ~/anope/conf) en anope.chk et modifiez-le. + D'abord renommez le script cron.example.sh qui est dans les dossiers + d'Anope (par défaut, ~/anope/conf) en cron.sh et modifiez-le. Vous aurez besoin de modifier la partie CONFIGURATION du fichier. Assurez-vous ensuite que le fichier est marqué comme exécutable en - tapant chmod +x anope.chk et essayez de lancer le script pour voir + tapant chmod +x cron.sh et essayez de lancer le script pour voir si cela fonctionne (Anope ne doit pas être en marche lorsque vous testez cela ;)) @@ -133,7 +133,7 @@ Note : Vous devrez également lire les fichiers README et FAQ ! crontab -e. Cela va ouvrir l'éditeur de texte par défaut avec le fichier crontab. Entrez la ligne suivante (avec le chemin correct) : - */5 * * * * /home/ircd/anope/conf/anope.chk > /dev/null 2>&1 + */5 * * * * /home/ircd/anope/conf/cron.sh > /dev/null 2>&1 Le */5 au début signifie "vérifier toutes les 5 minutes". Vous pouvez remplacer le 5 par un autre numéro si vous voulez (mais moins de 60). |