| --------------- MESSAGE metacard.v004.n426.3 ---------------
|
| From: Scott Raney <[EMAIL PROTECTED]>
| Subject: Re: OT: Page generation Do it locally or ...
| Date: Tue, 14 Aug 2001 15:16:51 -0600 (MDT)
|
| 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
...............
Swami, this is kind of a 'specific to your situation' response.
Yeah, easy to do this sort of thing with cron if you have shell
access, alas, you don't. You can get HOL help to make cron entries
but harder to test your programs without shell access. Also they
might say ...what's this?
However, you could do it from the gurudeva server. Set up all your
raw materials and your .mt script there. Have the daily page
generation run there (triggered by a cron entry) and then deliver the
lesson file to its destination on mahiai using wget.
Or, do it on your Mac server, that is running Unix.
Aum Aum
Sadhu
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.