Cron Job Set Up Help Please

Cron Job Set Up Help Please

Posted by: qwerty
Posted on: 2007-07-31 05:59:00

Hi,

I am trying to set up a cron job, but no sucess.

Using DreamHost panel, the line breaks and there is no fix to this as I was reading here on the boards.

Putty, I can not log in for some reason......

Using WinSCP looks OK, but gives me an error........

If I run this in the WinSCP terminal all is OK:

/usr/local/bin/php /home/*user*/*site.com*/cron-invia.php

When I try to set up cron job like this:
01 * * * * /usr/local/bin/php /home/*user*/*site.com*/cron-invia.php
it gives me error:
Failed with return code 127 and error message -bash: line 36: 01: command not found.

Could anybody help please?

Re: Cron Job Set Up Help Please

Posted by: sanremo
Posted on: 2007-08-03 00:41:00

Hi qwerty,
read more about cron job system on dreamhost here:
http://wiki.dreamhost.com/index.php/Crontab
http://blog.dreamhosters.com/kbase/index.cgi?area=2506

Best Regards

Admin Sanremo IN

Tags: cron jobwinscpdreamhostusrputtyerror message