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/INSTALL | |
parent | 8cb2b801e948564223ee97bef25a6b53f3f1ad9b (diff) |
Update the cron file name.
name
Diffstat (limited to 'docs/INSTALL')
-rw-r--r-- | docs/INSTALL | 8 |
1 files changed, 4 insertions, 4 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 |