Next chooce a MySQL database and execute the provided 'table.sql' file on it. Once the SQL executes, modify configure.php to reflect the database information you chose.
And while configure.php is up, fill in your new server-status URL. If you plan to suspend or warn users, you will need to fill in your administrative server control panel login details.
Lastly, run monitor.php via '/path/to/php /path/to/monitor.php' on the command line. If all goes well, you will want to set the command up as a cronjob. I suggest executing 'monitor.php' every 5 minutes, but you can do whatever you want.
No, I view the program's status through phpMyAdmin.neorder said:do you mean i can view status at like http://serverip/statues.php?
I haven't used DA's cron feature, but I think you can enter "5" for minute and "/path/to/php /path/to/monitor.php" for command and it should work.neorder said:and how to write a cron?
if i want to set up this cron under directadmin, how can i give command? thanks
wahaha said:I can not run a cron job ...
I have creat a file call " domainmon " in /etc/cron.d/
I have put a line in the file
*/4 * * * * root php /root/monitor.php
but it seems ... it can not work properly .....