Configuring STARTALL.cmd command to auto start all processess: Difference between revisions
From NEOSYS Technical Support Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
Create a .cmd file with the following command lines: | Create a .cmd file with the following command lines: | ||
@echo press any key to START all neosys processes OR | |||
@echo press Ctrl+C within 10 seconds followed by Y to cancel | |||
c:\cygwin\bin\sleep 10 | c:\cygwin\bin\sleep 10 | ||
if exist d:\global.end.temp del d:\global.end.temp | |||
if exist d:\global.end ren d:\global.end global.end.temp | |||
SET SPEED=FAST | |||
d: | |||
cd \neosys\neosys | |||
Start neosys.js /system ADAGENCY /database XXXX | |||
c:\cygwin\bin\sleep 1 | |||
Start neosys.js /system ADAGENCY /database XXXX | |||
Start neosys.js /system ADAGENCY /database XXXX | |||
The <b> c:\cygwin\bin\sleep | The <b> c:\cygwin\bin\sleep 1 </b> is to give a 1 second gap between each process startup. | ||
Likewise you can add additional lines to start up additional processes. | Likewise you can add additional lines to start up additional processes. | ||
Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word <B> REM </b> (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there. | Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word <B> REM </b> (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there. |
Latest revision as of 08:58, 9 September 2018
Setting up the file
Create a .cmd file with the following command lines:
@echo press any key to START all neosys processes OR @echo press Ctrl+C within 10 seconds followed by Y to cancel c:\cygwin\bin\sleep 10 if exist d:\global.end.temp del d:\global.end.temp if exist d:\global.end ren d:\global.end global.end.temp SET SPEED=FAST d: cd \neosys\neosys Start neosys.js /system ADAGENCY /database XXXX c:\cygwin\bin\sleep 1 Start neosys.js /system ADAGENCY /database XXXX Start neosys.js /system ADAGENCY /database XXXX
The c:\cygwin\bin\sleep 1 is to give a 1 second gap between each process startup.
Likewise you can add additional lines to start up additional processes.
Incase you need to disable a process startup temporarily, instead of deleting the line, you may add the word REM (meaning REMARK) before the start of the line and the line will be ignored till such time the remark is there.