The content of cron.php is :
<?php
$to = "my email";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From: [email protected]";
mail($to,$subject,$txt,$headers);
?>
Im using codeigniter, but I don't believe that this framework somehow can influence my file.
In the image you can see where is located my file (cron.php)

In the cpanel->cronjobs , at the Command i tried this version:
ls -la /domains/ebis-servicii.ro/public_html/cron.php
/domains/ebis-servicii.ro/public_html/cron.php
php /domains/ebis-servicii.ro/public_html/cron.php
etc, but none of them is working. Im getting this error: Could not open input file: /domains/ebis-servicii.ro/public_html/cron.php
I tried also this version:
/usr/local/bin/php /home/ebisserv/domains/ebis-servicii.ro/public_html/cron.php
and this one :
/usr/bin/wget -O /dev/null http:/www.ebis-servicii.ro/cron.php
Can anyone help me with this ?
maybe im doing smth wrong in the cpanel:
this is how my cron is set:
