If you want to run a program with cron, you need to give it the location of that file on the hard disk, like
/home/user/program or to run it with php, do something like: /usr/bin/php /home/user/program.phpIf you want to just make a GET call to a certain web page, you need to use a program for this, like lynx or wget.
Octavian----- Original Message ----- From: "Simon" <simoncwn@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Wednesday, November 28, 2007 11:20 PM Subject: Cron demon says no such file?
Hi guys,I have just set up my first cron job on the server that hosts my file. It's set to fire off a php script every hour. I've given the cron handler the absolute web address of the file, i.e the whole http://www.simonsgames.com/blah/blah.php. While I know for a fact this file exists there, (I can navigate to it from the web perfectly), cron demon insists on arguing that it isn't. And I quote, "No such file or directory". So my question to you guys is, what am I doing wrong? Should I specify a relative address from the cron? Or just an address from the domain onward? *looks confused, perplexed and all that kinda shtuff*Thanks as always, in advance for any help with this. Cheers, Simon __________View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind