[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Auto Launching AREV from Windows NT (AREV Specific) ====
=== At 17 NOV 1999 07:24:16PM Frank S. Adamo wrote: ===
{{tag>"AREV Specific"}}
My client has ARev 3.0 operating on a Windows NT server. We have Arev on the Server open for background indexing. Since tape backups only seem to backup closed files, I have set up a routine within Arev to auto logoff from the workstations at 11:00 pm. Then we start the backup at 12:00 midnight. Everything is fine, except we need to have the indexing AREV at the NT server on after the backup.
I would like to be able to auto logoff of the indexing AREV at 11:00 pm (which I can do), backup, and then auto logon the indexing AREV after the backup is finished.
It seems that there are programs available to set up macros to launch programs at a particular time, but invariably, I can't seem to locate them now. Does anyone have a suggestion on a reliable way to auto launch AREV at a preset time?
----
=== At 17 NOV 1999 08:08PM Warren wrote: ===
Install/activate scheduler servive on NT Server and schedule a bat/cmd file to start ARev at a given time.
----
=== At 18 NOV 1999 01:58PM Frank S. Adamo wrote: ===
Thanks. I realized that W98 has a task scheduler, but couldn't find a similar program on NT. Thanks again
----
=== At 18 NOV 1999 04:25PM Steve Smith wrote: ===
Here is a simple option which I posted some time ago (1995) on Compuserve...TESTHOUR.COM returns the hour of day (0-23) as a DOS
errorlevel. This batch file can be extended to suit your requirements/ times for running AREV.
echo off
cls
testhour
:top
if errorlevel 1 if not errorlevel 2 goto 1am
if errorlevel 2 if not errorlevel 3 goto 2am
if errorlevel 3 if not errorlevel 4 goto 3am
if errorlevel 4 if not errorlevel 5 goto 4am
if errorlevel 5 if not errorlevel 6 goto 5am
if errorlevel 6 if not errorlevel 7 goto 6am
if errorlevel 7 if not errorlevel 8 goto 7am
if errorlevel 8 if not errorlevel 9 goto 8am
if errorlevel 9 if not errorlevel 10 goto 9am
if errorlevel 10 if not errorlevel 11 goto 10am
rem etc. etc.
goto top
:1am
echo 1am
goto end
:2am
echo 2am
goto end
:3am
echo 3am
goto end
:4am
echo 4am
goto end
:5am
echo 5am
goto end
:6am
echo 6am
goto end
:7am
echo 7am
goto end
:8am
echo 8am
goto end
:9am
echo 9am
goto end
:10am
echo 10am
goto end
rem etc etc...
:end
At TCL:
EVAL OSWRITE \5152B42CCD218AC5B44C5A59CD21\ TO "TESTHOUR.COM"
Steve
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=8BBDBFE8C76D76268525682D00023905|View this thread on the forum...]]