install docs: adding user-specific cron example for distros like debian

This commit is contained in:
Pepijn Over 2014-05-04 14:00:52 +02:00
parent dad3799dd3
commit 7414c6e99e
1 changed files with 5 additions and 0 deletions

View File

@ -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
+++++++++++++++