Skip to content

Cron job setup in Dreamhost

edited August 2014 in Troubleshooting

Hi Everyone.

Trying to setup a Cron job in dreamhost with no luck. Does anyone know where I am going wrong?

I've screenshoted the settings screen - you can view it here. https://www.dropbox.com/s/evv3kue3syx7szl/Screenshot 2014-08-12 12.36.29.png

I reckon it could be the command line I am using - it is currently php /home/mediamtest1/media-junction.com/scheduled.php > /dev/null 2>&1

Thanks for the help in advance.

Daniel

Comments

  • Try this as your cron job command (Dreamhost requires full path to files and programs):

    /usr/local/php5/bin/php /home/mediamtest1/media-junction.com/scheduled.php > /dev/null 2>&1

  • Worked :-)

This discussion has been closed.