I want to start webrtc2sip from cron:
* * * * * root /taafs/webrtc2sip/webrtc2sip --config=/taafs/webrtc2sip/config.xml >> /var/log/webrtc2sip.log 2>&1
When cron runs, I see output in /var/log/webrtc2sip.log , but
ps aux | grep webrtc2sip
shows nothing.
When I run command from my root bash it shows absolutely the same output, and shows in ps aux! Also, when I install env from cron to new bash, and start command from this bash, it works(displayed in ps)! So the reason is not environment, but what?