aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-08-04 23:20:33 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-08-04 23:20:33 +0200
commit2787383c910f8b85c5250a9ace2e49954b5f07ba (patch)
treef1598f400cfd0076c7b0476b75662775730f8699
parentbbebbe27e1b3fa7a39b8a066d1351346d3db899c (diff)
Added 'Run as a cron job'
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index 73c8f1c..84ab3ad 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,25 @@ background by typing:
$ fics -d
+### Run as a cron job ###
+
+FICS comes with an autorun script (`fics_autorun.sh`) that is suitable
+to be run as a cron job for the dedicated chess user.
+
+Edit the crontab by typing:
+
+ $ crontab -e
+
+And add the following line:
+
+ */5 * * * * /home/chess/bin/fics_autorun.sh
+
+Save the file and exit.
+
+To display the current crontab, type:
+
+ $ crontab -l
+
## Creating registered players ##
As root, do the following: