On Tue, 14 Aug 2001 Sivakatirswami <[EMAIL PROTECTED]> wrote:
>
> 1) Page generation locally, mc.cgi will simply pull a page:
>
> OR
>
> 2) Have MC Generate the pages on the server
>
> I can move the source text and templates to the web server and convert my
> local metacard button script to a .mt script and then let the web server
> build the page each time someone hits on it.
OR
3) have the server generate it, but only once per day. There are
several ways to do this. Probably easiest would be as a batch file
run from the UNIX crontab file or with an "at" command. You could
also set up single long-running MetaCard process that uses "wait"
or "send .. in" to just do the work every 24 hours. I'd recommend
the crontab file option for maximum reliability (no need to worry
about restarting if the server goes down or if you get logged off),
but it does require the assistance of the sysadmin. Also note that
in all versions of this you'll have to write the script as a .mt
file rather than putting it in a stack, though of course you can
access data and run handlers in other stacks from the .mt script.
Regards,
Scott
> Hinduism Today
>
> Sivakatirswami
> Editor's Assistant/Production Manager
> [EMAIL PROTECTED]
> www.HinduismToday.com, www.HimalayanAcademy.com,
> www.Gurudeva.org, www.hindu.org
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.