Question: I'm trying to run this script from the cron job schedule on Ubuntu Linux 10.04.1 server but i get the following out put:

![enter image description here](https://i.stack.imgur.com/Lnqj9.jpg) 

Curl seems to be enabled on the serevr this is the extract fro the phpinfo file:
![enter image description here](https://i.stack.imgur.com/W8FdQ.jpg)

The cron script is to clean the log files in a magento db

I have tried various things but just can't get the thing to work ? any ideas would be a great help thank you.

Answer: 
You mixed up the curl php-module and the system executable.

Connect to a shell and enter the following:

```sh
sudo apt-get install curl

```

If you don't want to install `curl` try to use `wget`.
You have **curl extension** for php installed. But **NOT** curl command line client.

As you are using Ubuntu install it by,

```
sudo aptitude install curl

```

After that in the cron tab use full path of the curl  

Like

```
/usr/bin/curl

```