Re: Newbie needs compile
| From: | Julian | Date: | Mon, 06 May 2002 05:59:58 +0000 |
| Subject: | Re: Newbie needs compile | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96204@lists.php.net to get a copy of this message | ||
> 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?
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.
Sabre