history is getting deleted under unknown circumstances

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Jun 25, 2008
15
0
#1
Hi. I am using v19 of take command and sometimes the history gets deleted. It seems to happen if the system is shutdown without exiting take command first, although there may be other things going on here. In older versions, this never happened, so I am wondering why this is so fragile. Usually, if I exit first its fine.

Any suggestions would be appreciated.
 
Jun 25, 2008
15
0
#3
Can you elaborate? Which history? What is being deleted ... a file?
Well, what happens is that the history.txt file gets truncated and so all the history is lost -- sorry I was not clear. I have the option to read the history file at startup and to save it upon exit.
 

rconn

Administrator
Staff member
May 14, 2008
10,096
85
#4
Not sure what you mean by the option to read at startup and save on exit -- do you have something in your TCSTART and TCEXIT?

Windows only gives apps about 3 or 4 seconds to shutdown, so if your TCEXIT is doing something complicated you're likely to get TCC summarily killed by Windows on a shutdown.
 
#5
It sounds like he's talking about:
{CODE]
History File : Load the specified history list file before running TCSTART, and save the command history to the file after running TCEXIT. You should include the full pathname.[/CODE]
I have never used that option so I can't comment.
 
Last edited by a moderator:
Jun 25, 2008
15
0
#6
Not sure what you mean by the option to read at startup and save on exit -- do you have something in your TCSTART and TCEXIT?

Windows only gives apps about 3 or 4 seconds to shutdown, so if your TCEXIT is doing something complicated you're likely to get TCC summarily killed by Windows on a shutdown.
Well, I don't have anything in tccexit.btm after all, but I thought it would save on exit and read on startup the designated file which is history.txt in my case. Is this not so?
 
Jun 25, 2008
15
0
#7
It sounds like he's talking about:
{CODE]
History File : Load the specified history list file before running TCSTART, and save the command history to the file after running TCEXIT. You should include the full pathname.[/CODE]
I have never used that option so I can't comment.
Yep, exactly what I am talking about.
 
#8
I just tried it twice (logged off while TCC was running in TCMD) and it worked. Be aware, that is a TCC option (not a TakeCommand option). The only commands that will be put into that file are those executed at a TCC command line. If you're running some other program in TakeCommand, or a version of TCC that has not been configured to use your history.txt, commands won't be saved.
 
Jun 25, 2008
15
0
#9
I just tried it twice (logged off while TCC was running in TCMD) and it worked. Be aware, that is a TCC option (not a TakeCommand option). The only commands that will be put into that file are those executed at a TCC command line. If you're running some other program in TakeCommand, or a version of TCC that has not been configured to use your history.txt, commands won't be saved.
Well, it seems only to happen if the system completely shuts down unexpectedly -- or so it seems to me -- so it might be hard to duplicate the problem on demand. All I know is that under version 11, it worked fine, so I posted here to see if there was a fix, or if there is a way to file a bug.
 
#10
"System completely shuts down unexpectedly" ... blue_screen_of_death? ... pushing the hardware on/off button? ... pulling the plug? ... power outage? I wouldn't expect anything to work correctly in those cases.