Cron Help

Hi Everyone,

Please excuse the newbie.

I’m trying to set up a cron job (for Postie Plugin - Wordpress).

I had all sorts of trouble getting cron to fire the required file (get_mail.php), but after changing paths - a lot - it found it.

I immediately starting getting a different error which made me think that the first line in the script is pointing to the wrong place.

The first line in the php file is /usr/bin which, I presume, is where php lives at DH, but after logging in with SSH and looking in the directory, I do not see php there.

Does anyone know where php lives? Is my thinking towards solving this going in the right direction?

Thanks,

Bruce.

You’re spot on. You can find it by calling which php in shell.

[color=#00CC00]/usr/local/bin/php[/color]

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost

Great. Thanks.

I will try and change the path.

Bruce.