From 02e24c53efff5b1fe47cd60c51deb56866f82b63 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 26 May 2016 19:50:37 +0200 Subject: [PATCH] Add explanation how to make the cronjob on cPanel --- docs/install.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index 6393d334..1c9be318 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -103,6 +103,22 @@ To specify the base url to your monitor installation, use the "--uri" argument, php status.cron.php --uri="http://www.phpservermonitor.org/mymonitor/" +If you're work with cPanel you can follow these steps: + + Log into your cPanel account + + Go to cron jobs + + Add a new cronjob + + Type `*/15` in the minute field + + Type `*` in the other field + + Type `php /home2//public_html/phpservermon/cron/status.cron.php` in the command field + + Submit + Troubleshooting +++++++++++++++ @@ -110,4 +126,4 @@ Troubleshooting If you have problems setting up or accessing your monitor and do not know why, enable debug mode to turn on error reporting. To enable debug mode, add the following line to your config.php file:: - define('PSM_DEBUG', true); \ No newline at end of file + define('PSM_DEBUG', true);