Problem
Cron periodically triggers a task, but it is never executed, and /var/log/cron
there is no corresponding log generation in it, and there is no error log under the PHP-FPM log file.
Analysis && resolution
Cron not executed?
Does not: (
service crond statuscrond (pid 5467) is running...
File does not have execute permission?
Does not: (
ls -al-rwxrwxrwx .........
Environment variables not matched?
: )
* * ** * php ........
Changed it.
* * ** * /usr/bin/php .......
It's settled.
How do you know where your PHP is installed?
whereis phpphp: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib64/php /usr/include/php /usr/share/php /usr/share/man/man1/php.1.gz
Summarize
Problem-solving is about experience and feeling, the more mistakes you make, the more you will be able to solve problems.
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the timing plan does not execute PHP scripts and solutions, including the solution, PHP content, want to be interested in PHP tutorial friends helpful.