Answer the question
In order to leave comments, you need to log in
Cron PID and php?
Good evening, tell me how to transfer the pid of the cron process to the php file?
More detailed: there is a certain function that the user can run, after a minute cron pulls it up and executes it, the problem is that the user could interrupt the process. Other than stopping cron, there are no other ideas.
Answer the question
In order to leave comments, you need to log in
The crown should not be touched.
php.net/manual/ru/function.getmypid.php
php.net/manual/ru/function.posix-kill.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question