RE: Cron demon says no such file?

  • From: "Andrew Hodgson" <andrew@xxxxxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Wed, 28 Nov 2007 23:19:25 -0000

Hi,

If you are executing PHP code from Cron, you need to use wget or similar
to execute it.  You can't just specify a URL to the Cron daemon.

Andrew.

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Simon
Sent: 28 November 2007 21:20
To: programmingblind@xxxxxxxxxxxxx
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

Other related posts: