VDS Ubuntu 16.04 in a php script:

<?php cli_set_process_title ("MY_PROCESS_NAME"); ... 

I trace the started processes through htop in Ubuntu. If you run the php script manually from the console, the assigned process name is displayed. If the php script runs on cron, it is not displayed. Why is that?

    0