Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- cron job question
June 15, 2006, 8:36 pm
rate this thread
I'm trying to setup a cron job to run the maintenance script for
phpadsnew ad management script, in my cpanel it says:
Hint: to run PHP files, enter the command as follows (modify to fit
GET http://yourdomain.com/path_to_file/file.php /dev/null
so I have that (but with proper script path), but it fails and I get
an email saying:
/bin/sh: line 1: /dev: Is a directory
what am I doing wrong, or is the cpanel info wrong?
If it keeps up, man will atrophy all his limbs but the push-button finger.
~Frank Lloyd Wright - http://www.cynode.com
Re: cron job question
A php executable does not have /bin/sh as the first line. It's usually
Displayed Email Address is a SPAM TRAP
Our DNSRBL - Eliminate Spam: http://www.TQMcube.com
Multi-RBL Check: http://www.TQMcube.com/rblcheck.php
The Dirty Dozen Spammiest Ranges: http://tqmcube.com/dirty12.php