I have this PHP script which updates my database when the webpage is visited via https://......
<?php
//
database connection file.....
if($wa->cron()){
echo "Updated";
}
?>
How can I set a cronjob to visit this every 24hours?
I entered these commands but didn't work /home/xxxxx/public_html/cron.php and /home/xxx/public_html/cron.php
and I entered the web address directly still didn't work.
Please help.