Cron command error (not a directory)

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


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.

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


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/ > /dev/null

That’s what you’re looking for.

–Matttail - personal website