AUTO START THE PROGRAM WHEN AREV IS UP (AREV Specific)
At 09 DEC 2003 04:12:26PM robert wrote:
IS THERE ANY WAY TO EXECUTE A PROGRAM WHEN AREV IS UP AND ON SCHEDULE WITHOUT TYPE THE PROGRAM NAME ON TCL?
At 09 DEC 2003 04:44PM The Sprezzatura Group wrote:
Yes although it involves programming. See http://www.sprezzatura.com/revmedia/v2i10a4.htm.
The Sprezzatura Group
World Leaders in all things RevSoft
At 09 DEC 2003 10:43PM Ted Archibald wrote:
You can write a program and execute it.
This program will have a list of programs and times to execute.
When time arrives then the program is executed.
Simple as that.
If you want to be more creative then make the main program into a menu replacement to the AREV menu system and have it keep track of programs and time to run.
Ted
At 10 DEC 2003 09:23AM robert wrote:
Thanks for your inputs. I still do not know how it works. Can you write a simple program? For instance, with a scheduled task, the AREV will be on and a bp shall be executed at 7pm. (I can set up the scheduled task.)
At 10 DEC 2003 10:03AM dsig@sigafoos.org wrote:
Robert,
Did you go to the link given by Sprezz's message?
Easiest is to have your routine called AFTER the index processor looks for indexes to update (as long as this has not been turned off).
The program could be as simple as
routine to call some other process
If time()=68400 then EXECUTE "your routine here"
End of routine
Something like this *should* work.
dsig@sigafoos.org.com onmouseover=window.status=the new revelation technology .. a refreshing change;return(true)"
David Tod Sigafoos ~ SigSolutions
Phone: 971-570-2005
OS: Win2k sp2 (5.00.2195)
OI: 7.0
At 10 DEC 2003 11:01AM Gerald Lovel wrote:
Writing a general task scheduler is not exactly trivial. For instance, to make this work in a single-user environment, it would have to trigger off the post-indexing. Then you have to take into account skipped timer events, yada yada. If you would like to see a working example, write or call me with your contact info and I will send you a CD with the working subroutines as part of our WARES evaluation disk.
Gerald Lovel
glovel@wares.cc
800-727-4587
At 10 DEC 2003 11:06AM Gray Cunningham wrote:
Robert,
One caveat regarding the use of a post-indexing hook is that the index updating (and therefore your scheduled program) only takes place when/if the workstation determines that it has been "idle" for a specific length of time. So if another Arev program is actively running, the background process will not begin. I have also had a few problems with this on Windows-based workstations when the Arev process is minimized.
Gray Cunningham
At 22 DEC 2003 11:10AM Jeff Warvel wrote:
I think you can just enter a "Restart" command in the "secure user" definition.
example : put "E" "your.main.program"in this definition.
Also place this command in your "login verb" (a VOC item).
Under Arev 2.12, this would be
F10/ Management / Users / Secure user / "your default user" /
Jeff