Re: Crontab
| From: | Nathan Littlepage | Date: | Wed, 27 Feb 2002 05:18:45 +0000 |
| Subject: | Re: Crontab | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86365@lists.php.net to get a copy of this message | ||
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." <umashankari@lantana.tenet.res.in>
To: <php-general@lists.php.net>
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
>
>