I have setup (or tried to setup) a Cron Task in Plesk to run the generator once a week. First Ireceived the "permission denied" message and changed file permissions to 0755. Now it has the right permission to run the script but I am now getting more errors;
/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php: cannot open ?php: no such file
/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php: 2: Syntax error: word unexpected (expecting ")")
I used the recommended command line:
/usr/local/psa/home/vhosts/xxxxx.com/httpdocs/sm_gen/runcrawl.php
But have seen other examples where switches are used. Am I missing something?