Cron command error (not a directory)


#1

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

???


#2

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.


#3

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

-Scott


#4

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