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.
*/

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

Reply via email to