Background: during this period, a colleague needs to log in to my account frequently, and to verify the mobile phone verification code, I need to manually forward the verification code to him every time. I find it very troublesome, so I want to see if there is any way to free my hands, and then I find that AppleScript is such a very useful thi ...
Posted by randydg on Thu, 25 Jun 2020 01:51:38 -0700
In the early morning, I received alert text messages from Ali cloud server.Emergency security incident: access malicious download source, access malicious download IP.Instant wake up, immediately get up to handle.
First log in to Aliyun backstage, check the security center's warning mascot, found several records:
Parent process path: /usr/bin ...
Posted by lur on Wed, 20 May 2020 09:57:35 -0700
Please indicate the source of Reprint: http://blog.csdn.net/l1028386804/article/details/78996095
This paper is based on< Python -- Python nmap installation and common method description >To build an efficient port scanner case, please read the blog first< Python -- Python nmap installation and common method description>，
Here, we ...
Posted by jesirose on Sat, 02 May 2020 14:55:33 -0700
The project needs to back up the database regularly. Here are your own operation notes
1. Check the disk space
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 40G 3.6G 34G 10% /
tmpfs 16G 0 16G 0% /dev/shm
This is my current situation of linux server. I don't know why it's like this (I'm ...
Posted by joozt on Sat, 02 May 2020 07:56:12 -0700
Introduction and advantages
Using this script, you can judge whether the system memory usage exceeds the set percentage
It can restart the program when the warning value is exceeded
It can record the restart process and send the specific LOG mail to the designated addressee
Crontab schedule can be set to run every other period of time
Posted by iamthebugman on Mon, 27 Apr 2020 02:17:59 -0700
1. Requirements: from 10:00 p.m. to 5:00 a.m. every day, execute the stored procedure regularly every 10 minutes.
2. Implementation mode: there are two ways to achieve it:
One is more conventional. Using mysql event timing task, first introduce the related commands of event timing task in mysql,
To see if event is enabled:
Posted by elibizif on Wed, 01 Apr 2020 15:46:14 -0700
Brief introductionsystemd is to control power on service, power on level and other functions by means of management unit.In / usr/lib/systemd/system directory, there are various unit files, including service unit with service suffix, power on level unit with target suffix, etc. here are the files about service suffix. Because system D needs t ...
Posted by baennaeck on Thu, 06 Feb 2020 01:46:46 -0800
In Linux, the timing task is executed by crond program. It is started by default after power on like SSH, network, rsyslog and sysstat. By default, crond checks every other minute to see if there are any tasks to perform. If you have special needs, such as executing once a second, you need to write daemons.
View the contents o ...
Posted by rascle on Sun, 05 Jan 2020 09:36:49 -0800
Here is an example of Laravel task scheduling. For related methods, please refer to: http://laravelacademy.org/post/8484.html
1. make:command generate task
php artisan make:command MigrateData
After executing the above command, a new Commands directory will be created in the Console directory, which contains a MigrateData. ...
Posted by alan007 on Wed, 01 Jan 2020 12:44:13 -0800
Recently, the project involves the function of a scheduled task, so I have studied the usage of crontab in recent days, and successfully opened this function on my computer according to the related online tutorials
Laravel + crontab
Add crontab configuration
1. Execute command
$ crontab -e
2. Add the following (path/to is the applicatio ...
Posted by lmhart on Wed, 25 Dec 2019 10:38:55 -0800