Hi Trevor, Bogi and gang...
Thanks for your replies. Sorry I was a little short on details there.  After
thinking about this, I figured that this had to do with the server using PHP
as a module. My hosting provider has a form for editing crontab and suggested:

GET http://path/to/script > /dev/null

which seems to work. I'm not exactly sure what's at work there...

I used 'man get'
 and got some stuff about SCCS er some such.

Anyway...

This might be helpful information for people (like me) who are more
comfortable with php than with perl or bash scripting and want to run a script
using php...

Shane

Bogi wrote:

> Ok
> Now here are my questions ::
> Is php running in safe mode
> Are you running the cli version.
> Can the script run as another user, is is it accessing files
>  other users may not be able to access.
> Does the script run with the q option set ??
> Does it output anything during run.
> Last but not least, can you put the script up somewherefor us to see :-) It
> would help a bit.
> And not to mention the obvious questions :
> What version of php , php.ini settings ...
> Cheers
> Szemir
>
> On Tuesday 25 March 2003 18:15, you wrote:
> > Is there any reason why a php script would not work
> > in anacron? I have a script which runs great from
> > the command line, but doesn't seem to want to
> > execute from the anacron cron.daily folder.
> >
> > It is executable... 751
> > And it works without errors when manually run...
> >
> > Any thoughts?
> >
> > TIA,
> >
> > Shane

Reply via email to