probedb
05-15-2007, 06:01 AM
Hi all,
I've got a cron setup which is running a PHP script. I know the PHP script works because if I run it from a browser it does what it should.
The problem is when it's run as a cron, it runs (I get the email showing me) but it generates no errors and yet doesn't do what it's supposed to.
I have another cron which has the same includes etc, runs from the same directory, has the same command (different filename tho obviously) and this works fine.
How can I debug this?
Cheers,
Paul.
I've got a cron setup which is running a PHP script. I know the PHP script works because if I run it from a browser it does what it should.
The problem is when it's run as a cron, it runs (I get the email showing me) but it generates no errors and yet doesn't do what it's supposed to.
I have another cron which has the same includes etc, runs from the same directory, has the same command (different filename tho obviously) and this works fine.
How can I debug this?
Cheers,
Paul.