You are not logged in.
Pages: 1
I wrote a script and now I want to run it as a daemon.
So I use the command pidof to get the PID of the running script. The problem is that pidof returns nothing.
A ps -A | grep my_script shows that the script is running.
Why I can't have the PID using pidof /usr/bin/my_script ?
Offline
$$
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1