install docs: adding user-specific cron example for distros like debian
parent
dad3799dd3
commit
7414c6e99e
|
@ -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
|
||||
+++++++++++++++
|
||||
|
||||
|
|
Loading…
Reference in New Issue