Close RMS from the command line?


B

Brandon

Hi all,
I am running maintenance on a scheduled basis and need to make sure that RMS
(POS, Manager, and HQ Client) are not running when I'm running maintenance.
Specifically, I want to clean up all the .tmp files from the %TEMP% folder
from the command line, and these are often in use by RMS.

How do I stop the applications from the command line?

Thanks all!
 
Ad

Advertisements

M

Matt Hurst

try stopping the database with: net stop mssqlserver
this would crash rms and hqclient but might leave the program open with an
error message on the screen, so not sure if it would release the temp files.
if that works, start the server again afterwards with: net start mssqlserver

This would also stop any dependancies which would also have to be restarted,
like sqlserveragent etc.
 
J

Jeff @ Check Point Software

Brandon,

Try the Windows command, TaskKill.exe

TaskKill /? for command help.


TaskKill /F /IM SOManager.exe /T




Hi all,
I am running maintenance on a scheduled basis and need to make sure that RMS
(POS, Manager, and HQ Client) are not running when I'm running maintenance.
Specifically, I want to clean up all the .tmp files from the %TEMP% folder
from the command line, and these are often in use by RMS.

How do I stop the applications from the command line?

Thanks all!
 
B

Brandon

Thanks Jeff and Matt.

I think taskkill is the best solution in this case.

Also, anyone else have problems with your .tmp files stacking up and
eventually preventing POS from running or am I the only one.

Thanks again, works like a charm, and didn't know about that command.

BK
 
Ad

Advertisements

R

Roderick

Thanks Jeff and Matt.

I think taskkill is the best solution in this case.

Also, anyone else have problems with your .tmp files stacking up and
eventually preventing POS from running or am I the only one.

Thanks again, works like a charm, and didn't know about that command.

BK
Just make CERTAIN that no transactions will be posting at the time you
kill the process. If you exit SO POS, there is a small chance that you
will lose data as the transaction is posted to the various database
tables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top