cron A library for managing timing tasks, using Go to achieve the effect of crontab command in Linux. We introduced a similar Go library before—— gron . gron code is small, which is better for learning. But its function is relatively simple, and it is no longer maintained. If there is a need for timed tasks, cron ...
Posted by vchris on Sat, 27 Jun 2020 09:10:13 +0200
Recently, we are trying to use a log system, graylog, to collect the slow query log of mysql for subsequent analysis, monitoring and alarm. The test steps have been completed and the logs have been collected successfully. During the test, you need to brush some slow query logs. In order to brush more logs and not have a greater impact o ...
Posted by murp32 on Mon, 04 May 2020 13:43:41 +0200
Please indicate the source of Reprint: http://blog.csdn.net/l1028386804/article/details/78965865
Most of DNS resolution is a domain name corresponding to an IP address, but through DNS polling technology, a domain name corresponding to multiple IPS can be achieved, so as to achieve the simplest and most efficient load balancing. However, the b ...
Posted by charlesg on Thu, 30 Apr 2020 20:59:38 +0200
MySQL EVENT is a scheduled task, similar to crontab task on LinuxIt mainly has the following properties
In mysql, the objects of timing events are globally unique
event performs operations according to the schedule, including one SQL operation. You can also use begin and end to implement multiple SQL composite execution
The permission ...
Posted by Otiose Dodge on Fri, 20 Mar 2020 11:42:24 +0100
Script function Brief
1. Export remote mysql database table data to local and save as file
2. Support the configuration of table information to be exported to the configuration file. The script will cycle the configuration file and parse the configuration file, and then complete the subsequent data export.
3. Incremental export by time is ...
Posted by DJP1986 on Tue, 03 Mar 2020 09:58:27 +0100
Scan the specified log directory every hour, empty the file directly after it exceeds 100M, and use it as a temporary means of operation and maintenance.
The source code is mainly composed of two functions:
reviewLogs() determines the log size and clears it;
getdir() determines whether it is a dire ...
Posted by Erestar on Tue, 28 Jan 2020 18:02:16 +0100
Previous link When reading, it is better to refer to the source code of easysoole 2.1.2
The actual call here is the start method servermanager:: getinstance() - > start();
This method is mainly used to start the swoole service
//Create master service
In this code, the core ...
Posted by Serberus on Mon, 06 Jan 2020 18:09:39 +0100
Ansible Common Modules
Modules included in this section:
(1) Timing task module cronvar
(2) archive module
(3) Unpacking module unarchive
(4) Download module get_url
(5) wait_for module
(6) script module
Timed Task Module cronvar
In addition to the cron module itself, which can manage cron's environment variables, another module, cronvar, can ...
Posted by jharbin on Sun, 17 Nov 2019 05:15:50 +0100
Log in to the virtual machine, and according to the prompt message, it is found that it is suffering from SSH explosion attack, with IP address of 126.96.36.199.
Check the log in related security logs: tail -f /var/log/secure, and find other attempts to blow up IP188.8.131.52, 184.108.40.206, 220.127.116.11.
Baidu search IP add ...
Posted by gtibok on Sat, 02 Nov 2019 08:06:32 +0100