Answer the question
In order to leave comments, you need to log in
How to write to a file if the script is running in the background from one user, and the directories belong to another?
Hello!
I run the php script with this command:
nohup php -f /path/to/file.php > /dev/null 2>&1 & echo $!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question