<sub@xxxxxxxxx> writes: > My host uses cPanel. When I setup the crontab it e-mails me back this > response: > > /bin/sh: public_html/wap/mailer/dailylist.php: /usr/bin/php > : bad interpreter: No such file or directory > > I'm assuming that it means it can't find "/user/bin/php" > > I ran a "whereis php" through a cronjob and got this: Try "which php" instead. Another option would be to put the php script in the decomentroot of your server. Schedule a cron job on any of your desktop/dev machines to wget that php script. -- Raj Shekhar blog : http://rajshekhar.net/blog home : http://rajshekhar.net Disclaimer : http://rajshekhar.net/disclaimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php