Re: Newbie needs compile
| From: | Jason Wong | Date: | Mon, 06 May 2002 06:26:55 +0000 |
| Subject: | Re: Newbie needs compile | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96206@lists.php.net to get a copy of this message | ||
On Monday 06 May 2002 13:59, Julian wrote:
> > I need to schedule to run a PHP script on server side, rather than invoke
> > it from browser. Is there any way to compile it to .exe so it can run on
> > Solaris/Apache environment?
Yes, full instructions in the manual.
> no such thing as .exe in Solaris ;) just "chmod 755" a file and it will
> execute.
>
> > If yes, can you help me know how? Thanks a great deal!
>
> If you want to schedule something to run, say, every 5 minutes, then you
> add it to your cron jobs. In FreeBSD, you have to edit /etc/crontab to do
> this, then restart cron. Inorder to execute a PHP script like you
> want (and I could be way off on this one), I would install lynx and make
> cron call lynx with a link to your .php file.
He did say he did /not/ want to invoke it from a browser :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Beat your son every day; you may not know why, but he will.
*/