In message <[EMAIL PROTECTED]>, James
Keeline <[EMAIL PROTECTED]> writes
>There are several ways to approach this, depending on what resources you have
>on the server.

>You could create a script with the usual <?php ... ?> PHP tags and add a line
>at the very top which specifies the location of the command-line PHP
>interpreter.  Normally this looks like:
>
>#!/usr/bin/php
>
>It must be on the first line and the pound sign (#) must be the firs character
>for this to work.  For this to run, you must also make the script executable
>with a chmod command (chmod 755 script.php) or a similar feature of your FTP
>program.

Missed that... done it now.

>IMPORTANT:  In this case, the PHP script will run as the user who runs the cron
>job.  This may be a problem if you have to have write access to certain files
>and directories.

But how do I identify who this user is?  It appears that Cron should be
sending this user a report via email, but I can't find anything...  that
email would tell me an awful lot!

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to