On Sat, 2004-06-26 at 19:34, Ryan Schefke wrote:
> Hi,
> 
>  
> 
> Can someone please give me some guidance.  I'd like to run a php script
> every minute (in reality every night, but just testing).  I've done some
> reading and found that a crontab is the best way to go (I think).  I'm using
> Plesk 7 on a Linux box and I have root access.
> 

You need to add #!/usr/bin/php
At the start of your script so it knows how to run it.  You will also
need to set the permission bits to allow execution 
chmod 700

Change the path to where you have the cli version of php on your system.


-- 
Scot L. Harris <[EMAIL PROTECTED]>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to