
February 25th, 2013, 09:09 PM
|
 |
A Change of Season
|
|
|
|
Quote: | Originally Posted by E-Oreo If I had to guess, I would say your script CRM_TO_HB.php isn't designed to be executed from the command line.
If it is web-accessible, you could try requesting it using wget or curl instead; ie something like
Code:
wget http://website.com/CRM_TO_HB.php
| There is nothing special in the script. Its just a select update query. Directly executable.
Anyways I am not sure if this is what you meant or not but I added a new script on the server and called it like this but exact same error comes to my email from the cron job
PHP Code:
<?php exec('wget http://www.website.com.au/CRM_TO_HB.php');?>
|