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

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

my php file location

/home/domain.com/public_html/bot/cron.php

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

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

so the cron entry will be

/usr/local/lsws/lsphp74/bin/php /home/domain.com/public_html/bot/cron.php

replace the php version accordingly based on requirement and compatibility.