In my php project i should have some background process , but in safe mode , because I\'m running it on a shared host.
For example my background process code is in the f
It's not possible use a PHP file served by a HTTP Server because all proceses will die after the request end.
So cPanel cron is a good option, you don't need to have the cron entry always enable, just setup once the entry and disable it after the script start to run.
Only you'll need add &
at the end of your cron command to make it run as background.