Cron Error WHMCS

I tried now through the ssh terminal and it doesn’t work. I put it like this:

/usr/bin/curl https://domain.com/crons/cron.php >/dev/null 2>&1

I don’t know if you need to put some more detail to run. But the 5 minutes Cron in CyberPanel Cron Job it is working with this command. Now maybe I have to wait 24 hours to see if the daily cron will run successfully. Because my problem is in daily cron.