Under Linux, you can use Crontab+PHP
method: 1. Use crontab –e to edit the timed task content: xx:xx:xx Execute a test.php file 2, php file must be in The first line of the file, plus the interpreter path (as perl does) #!/usr/local/bin/php PHP implementation requires Apache support, shell script execution requires Linux support, and Linux supports a certain timed run The function of a program ---------------------------------------------- ----------------- Use PHP as a shell scripting language (quote)
※ I am lazy, the previous method is directly in /etc/crontab Directly bring the php path, such as */5 * * * * root php test.php, can also be executed correctly; interested friends can write a hello world program test, output all of them to a file to test, and finally wish Everyone is happy to work.
Regarding the circuit structure, whether it is a linear power supply, a thyristor power supply or
For the engineers who are developing or operating the Linux platform, it is often necessary to query
◆ Installation and Login: login, shutdown, halt, reboot, install, mount, umount, chsh, exit, last◆ F
Perhaps the user will misuse the grub.conf file and it will not be able to enter Linux operating sy
Linux Resource Limitations and Open Techniques
Under the Linux operating system to prevent hacking skills
Linux operating system to install WordPress service
Solution for Starting ONTRACK (DDO) message each time it starts up
Linux server attack and defense technology detailed
The df/hdparm command under Linux
The linux packet capture command
How to hide nginx and PHP version number
Linux installation ARM-LINUX-GCC
Configuration Management for Users and Groups under Linux Operating System
How to use win+g shortcut key to record screen in win10
How to close the Win8 virus protection program?
Win7 32-bit and 64-bit difference
.NET framework 4.0 installation failure solution
Win7 uses a browser to open a web page prompt 502 Bad Gateway error three solutions
Windows 7 system is not bundled with free anti-virus tools?
The scroll bar to reduce boot time
PHP probe recommendation: a good helper for detecting server environment