Re: [PHP] me and my CRON JOB

2002-01-11 Thread J Smith
Quick tip -- locate and whereis are your friends in the shell. They make finding executables like php are a snap. As for emailing from php/cron, it depends on how your system is set up. Many email servers bounce any emails they receive from IPs that they can't reverse map or otherwise identif

Re: [PHP] me and my CRON JOB

2002-01-10 Thread Mehmet Kamil ERISEN
hi, thanks for the tip. I was wondering about it too I do not have access to everywhere on the server. I tried /usr/bin/php and it worked.. :) I tested the following script for connection to database, executing my functions etc... everything seems to work but mail. any ideas? Thanks fo

Re: [PHP] me and my CRON JOB

2002-01-10 Thread Rasmus Lerdorf
Well, does /usr/local/bin/php exist? On Thu, 10 Jan 2002, Mehmet Kamil ERISEN wrote: > hi, > here is the question: > I know I need to add a line like: > #!/usr/local/bin/php > to the begining of my php page followed by > my code > ?> > > Then set a cron job, so it runs. > > I have done all that