From 7414c6e99e5136a1f083b3e9aed26ec5bbf323c3 Mon Sep 17 00:00:00 2001 From: Pepijn Over Date: Sun, 4 May 2014 14:00:52 +0200 Subject: [PATCH] install docs: adding user-specific cron example for distros like debian --- docs/install.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/install.rst b/docs/install.rst index 3ae4d74f..ca95e03b 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -87,10 +87,15 @@ If it is your own server or you have shell access and permission to open the cro As you can see, this line will run the status.cron.php script every 15 minutes. Change the line to suit your needs. If you do not have shell access, ask your web hosting provider to set it up for you. +Please note that some distros have user-specific crontabs (e.g. Debian). If that is the case, you need to omit the user part:: + + */15 * * * * /usr/bin/php /var/www/html/phpservermon/cron/status.cron.php + The update script has been designed to prevent itself from running multiple times. It has a maximum timeout of 10 minutes. After that the script is assumed dead and the cronjob will run again. If you want to change the 10 minutes timeout, find the constant "PSM_CRON_TIMEOUT" in src/includes/psmconfig.inc.php. + Troubleshooting +++++++++++++++