QUESTION

Bruce Easton bruce at stn.com
Thu Jun 5 09:38:03 PDT 2008


Walter Vaughan  wrote Thursday, June 05, 2008 11:48 AM :

Bruce Easton wrote:

Robert Pulliam wrote Thu, 5 Jun 2008 10:30:52 -0400:

 I  have employees who are key pounders.  AT the end of the day
 there is a process - ie a batch file with 35 command lines
 that must be executed every day.  If they hit the enter key twice or
 more with their pounding this process runs exactly that many times.
 Using filepro - sco unix.  Is there a unix command that would
 intercept the multiple enters or could i exit the entire batch file
 with a filepro command.
    Is there a way to make the script so that only the entry of a
specific word will allow the process to go on the the next step?

(Like having the user enter 'dostep1' to make it do the first step -
any other word or enter would just make it stay at that step.)Or create a
counter file that keeps track of how many times the batch is run, and
toss up an error message if the batch has already been run.

Yeah, as long as you don't just require a return after the error message to
let it
go around again. :)   (I'm still paranoid after that keyboard buffer dump
the cat gave
me as a gift that day by right-clicking my mouse.:))

If thinking of implementing a counter file or similar to track runs in a
day, might also
consider writing out the run stats into a log file - like who ran it,
start/end time,
phase completion IDs, etc.

Bruce

Bruce Easton
STN, Inc.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20080605/883b22e0/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00136.txt
Url: http://mailman.celestial.com/pipermail/filepro-list/attachments/20080605/883b22e0/attachment-0001.txt 


More information about the Filepro-list mailing list