Search code examples
linuxmagentoubuntucron

script error on linux ubuntu /bin/sh: curl: not found?


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

Curl seems to be enabled on the serevr this is the extract fro the phpinfo file: enter image description here

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.


Solution

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

    Connect to a shell and enter the following:

    sudo apt-get install curl
    

    If you don't want to install curl try to use wget.