This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Delete all logs | |
| TRUNCATE ps_log; | |
| # DELETE logs with date | |
| DELETE FROM ps_log WHERE date_add < '2021-09-14 18:00:00'; | |
| # Delete old connection data (only used for stats) | |
| # change 2016-02-01 00:00:00 according to you needs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget --spider \ | |
| -r -nd -nv -H \ | |
| -l 1 -w 2 \ | |
| -o checker.log \ | |
| https://yourhost.com | |
| # And in another terminal | |
| # in the same directory | |
| tail -f checker.log |
OlderNewer