Hi so I am trying to run my cron job configured through cpanel right now, using a localserver on my personal computer.
I am getting this error when running it through localhost "Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\Call_random_homepage1.php on line 2"
Here's my code.
<?php
$data = file wget (Mydirectory)
"php
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set("max_execution_time", 0);
require_once('core.php');
/* ------------------------------------------------------------------------*
* Calling Process Campaign
* ------------------------------------------------------------------------*/
$alb=new alb ;
// log cron
$alb->log('Cron_Job_Run','Cron');
$alb->process_campaigns();
$alb->check_approved();
$data;
?>
Any help would be appreciated, I'm new to this.
Thanks!