Add explanation how to make the cronjob on cPanel
parent
10d2f3aeed
commit
02e24c53ef
|
@ -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/<Type here your cPanel username>/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);
|
||||
define('PSM_DEBUG', true);
|
||||
|
|
Loading…
Reference in New Issue