cron command error (not a directory)

cron command error (not a directory)

Posted by: Vendetta
Posted on: 2007-08-15 08:56:00

why i receive this error ?

/bin/sh: line 1: /dh/cgi-system/php.cgi/home/.dodge/my_user/my_domain/my_script/update.php > /dev/null : Not a directory

???

Re: cron command error (not a directory)

Posted by: twofish
Posted on: 2007-08-15 09:56:00

triple check the spelling of your paths. I had one boggle me most of the weekend til I found that I forgot a letter in the path.

Re: cron command error (not a directory)

Posted by: sdayman
Posted on: 2007-08-21 15:51:00

And try getting rid of .dodge in the path. Sometimes that throws things off.

-Scott

Re: cron command error (not a directory)

Posted by: matttail
Posted on: 2007-08-22 07:03:00

What you've pasted here isn't a directory. There's no space anywhere in there so it's looking for your domain files under the cgi-system.

/dh/cgi-system/php.cgi /home/user/example.com/path/to/script/update.php > /dev/null

That's what you're looking for.



--Matttail
art.googlies.net - personal website

Tags: cgi systemphp cgicronline 1dh