Crontab executes php. crontab executes php. Crontab is used to execute php. crontab is used to execute php. in linux, we often need to write scheduled tasks. generally, crontab is used. For more information about crontab, see the following document: crontab executes php. crontab executes php.
In linux, we often need to write scheduled tasks. we usually use crontab. For more information about crontab, see the following document:
Http://www.cnblogs.com/peida/archive/2013/01/08/2850483.html
It should be clear that the full qualified name must be used when executing the php file.
For example:
Cd/var/www/html/lws/conf &/root/php-5.0/bin/php index. php
If you write
Php index. php
There are often problems. The Command and script must use a fully qualified name.
This is not just php, but also a lot of other problems.
The absolute path instead of relative path should also be used in the file called within the php script.
In linux, we often need to write scheduled tasks. we usually use crontab. For more information about crontab, see the following document: http ://...