Corn job anomaly
| From: | Karl DeSaulniers | Date: | Mon, 19 Sep 2016 08:26:54 +0000 |
| Subject: | Corn job anomaly | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-49118@lists.php.net to get a copy of this message | ||
I am hoping someone can enlighten me on this issue I am having.
I am trying to set up a cron job to run a php file.
I am getting a strange error though.
/home/(protected directory)/auto_reminder.php: line 1: ?php: No such file or directory
/home/(protected directory)/auto_reminder.php: line 2: =: command not found
/home/(protected directory)/auto_reminder.php: line 3: /*WordPress: No such file or directory
This is lines 1, 2 and 3 from my code.
<?php
$error_log = "";
/*WordPress Optons Table*/
Am I correct in thinking that the error is saying that php doesn't exist?
Has anyone ever experienced this? Is this a server related issue?
Any clue on how to fix?
TIA,
Best,
Karl DeSaulniers
Design Drumm
http://designdrumm.com <http://designdrumm.com/>