how to find location php file and and run cron? via Cyberpanel interface, correct command?

I have this problem that cron is not running, probably I’m misspelling the location to php file

my php file location


My problem is that I don’t know exactly what command to enter?
I have tried many ways to type in locations and commands but none of them start the php file
Can someone give me the correct command?

you need to find, under which php version your file works fine.

let assume if it is 7.4
then you can add it as


so the cron entry will be

/usr/local/lsws/lsphp74/bin/php /home/

replace the php version accordingly based on requirement and compatibility.