Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

automating the restarting of CMS 10

Status
Not open for further replies.

hjg0989

MIS
Nov 29, 2005
2
US
Hi,

We do a cold backup of our database on Sundays. Every Monday I have to manually restart the CMS. I copied the following command line from the properties box:

\\server\P$\CE10\Enterprise 10\win32_x86\CrystalMS.exe -service -name psat02.cms -restart -noauditor

This command works from the Crystal Configuration Manager.

I created the following cmd file:

P:
cd CE10\Enterprise 10\win32_x86
CrystalMS.exe -service -name psat02.cms -restart -noauditor

When I execute the .cmd file it does not stop and restart CMS. Does anyone know what the trick to this is ?

Thank you for any help,

-helen
 
OK, I was making this too difficult.

In my .cmd file I just do a net stop crystalms
and a net start crystalms

The switches are included in the service properties for Crystal Management Server.

-helen

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top