thanks for all the great info.

Steve

-----Original Message-----
From: Bill Downall [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 2:37 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: R:Tango Temp Files - Razzak's Reply


Steve,

Once you have a command file like Razzak's example that does what you 
need, you can launch it from a batch file that runs at 4:00 am, or some
other 
time that the apps could be scheduled to be offline, but when you weren't 
necessarily there.

For example, if you start with Razzak's simple example, you could add some 
R:Base error trapping after each command, and some commands that would 
log progress and report errors to you.

Your batch file will stop the witango 5 server, start R:Base, run your 
maintenance job, then start witango 5 server again.

If you have users click somewhere on an html page before they hit the top 
TAF file, you can also have your batch file copy a "Application temporarily 
offline" html page over your welcome screen, and put the good one back 
later. 

Something like this operating system batch file:

RTangoReload.CMD
==================
copy c:\inetpub\wwwroot\default.htm c:\inetpub\wwwroot\online.htm
copy c:\inetpub\wwwroot\app_is_offline.html c:\inetpub\wwwroot\default.htm
net stop "witango server 5"
c:\rbti\rbg7\rbg7.exe c:\databases\mywebapp\MYReload.RMD
net start "witango server 5"
copy c:\inetpub\wwwroot\online.htm c:\inetpub\wwwroot\default.htm
=================

Then you set up a "scheduled task" to run your batch file at 4:00am.

Bill

On Mon, 17 Nov 2003 14:16:48 -0600, Fogelson, Steve wrote:

>Thanks for the info.

>Any other way to do this? I forgot to mention that I have a number of apps
>using R:Tango and would not want to shut them all down.

>Thanks

>Steve

Reply via email to