Compile php as a CGI then write a script that begins as such.

#!/usr/local/bin/php -q
<?php

  / / code here

?>

Chmod on file and place in crontab.

----- Original Message ----- 
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 11:11 PM
Subject: [PHP] Crontab


> 
> 
>  Hello,
> 
> 
>    I need to run one php script using crontab.I am having this doubt.If
> the phpscript run in the command prompt then only we can run the script
> using crontab...please tell me how do i go about with this..
> 
> 
> 
> 
> -Uma 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


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

Reply via email to