Re: me and my CRON JOB
| From: | Rasmus Lerdorf | Date: | Fri, 11 Jan 2002 01:09:02 +0000 |
| Subject: | Re: me and my CRON JOB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80145@lists.php.net to get a copy of this message | ||
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
> <?php
> my code
> ?>
>
> Then set a cron job, so it runs.
>
> I have done all that. aslo made the php file executable.
> The file is executing.
> First I did not put the line #!/usr/local/bin/php
> and I received an email with error messages.
>
> now I added the line with #!/usr/local/bin/php
> and I am receiving an error message:
> /bin/sh: /home/webvoire/www/cm/test.php: No such file or
> directory
>
> any input?
>
> how can I find out the correct #!/usr/bin/... to put. is
> there any way to figure it our from phpinfo();?
>
>
>
> =====
> Mehmet Erisen
> http://www.erisen.com
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>