Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
APPX Background Processing on a Windows Server | ||||||||
Added: | ||||||||
> > | ||||||||
This document will demonstrate the setup of APPX background processing when APPX is installed on a Windows server.
Overview | ||||||||
Line: 16 to 19 | ||||||||
StepsAPPX Designer
| ||||||||
Changed: | ||||||||
< < | | |||||||
> > | | |||||||
APPX Server | ||||||||
Changed: | ||||||||
< < | If all you wish to do is submit an APPX JOB's OUTPUT process to the background, you do not need to set the APPX_BG_SCRIPT environment variable, nor do you need to have an appx_submit.cmd batch file. If however you wish to take specific action based on one of the arguments APPX passes to the appx_submit.cmd script , then you should set APPX_BG_SCRIPT=appx_submit.cmd and create an appx_submit.cmd file that can act on the 8 argument pairs that are past. They are (-image, -session, -mode, -notify, -date, -priority, -queue, and -user) These configuration files (appx.env file containing APPX_BG_SCRIPT environment variable, and appx_submit.cmd batch script) need to be placed on the APPX Windows server. | |||||||
> > | If all you wish to do is submit an APPX JOB's OUTPUT process to the background, you do not need to set the APPX_BG_SCRIPT environment variable, nor do you need to have an appx_submit.cmd batch file. If however you wish to take specific action based on one of the arguments APPX passes to the appx_submit.cmd script , then you should set APPX_BG_SCRIPT=appx_submit.cmd and create an appx_submit.cmd file that can act on the 8 argument pairs that are past. They are (-image, -session, -mode, -notify, -date, -priority, -queue, and -user) These configuration files (appx.env file containing APPX_BG_SCRIPT environment variable, and appx_submit.cmd batch script) need to be placed on the APPX Windows server. | |||||||
The appx.env file. | ||||||||
Changed: | ||||||||
< < | The appx.env file is a file that is referenced by all appx processes. The file contains environment variables that you want to be present for APPX sessions. Any line that starts with # is a comment line and is not used by APPX. The other lines have a syntax of VARIABLE=VALUE, where VARIABLE is an environment variable such as APPXPATH, and VALUE is the text that you want to assign to the variable, such as C:\Appx\Data. Here is an example appx.env file. | |||||||
> > | The appx.env file is a file that is referenced by all appx processes. The file contains environment variables that you want to be present for APPX sessions. Any line that starts with # is a comment line and is not used by APPX. The other lines have a syntax of VARIABLE=VALUE, where VARIABLE is an environment variable such as APPXPATH, and VALUE is the text that you want to assign to the variable, such as C:\Appx\Data. Here is an example appx.env file. | |||||||
Changed: | ||||||||
< < | ############################################################################### | |||||||
> > | ############################################################################### | |||||||
# # APPX Configuration File # ----------------------- | ||||||||
Line: 135 to 137 | ||||||||
#APPX_KEATERM=NoButtons #============================================================================= | ||||||||
Changed: | ||||||||
< < | # SCRIPTING & REGRESSION TESTING CONFIGURATION SECTION | |||||||
> > | # SCRIPTING & REGRESSION TESTING CONFIGURATION SECTION | |||||||
#============================================================================= # APPX_SCRIPT_OUT will record all enduser keystrokes (and selected | ||||||||
Line: 248 to 250 | ||||||||
# #APPX_UNIXIO_STATS=/tmp/file_stats #APPX_UNIXIO_PROCS=1 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | APPX_BG_SCRIPT=appx_submit.cmd | |||||||
> > | APPX_BG_SCRIPT=appx_submit.cmd | |||||||
The appx_submit.cmd Windows batch file | ||||||||
Added: | ||||||||
> > | ||||||||
The appx_submit.cmd file is a Windows batch file that you can parse the 8 argument pairs that APPX passes it.
| ||||||||
Line: 264 to 264 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ::APPX_SUBMIT.CMD | |||||||
> > | ::APPX_SUBMIT.CMD | |||||||
:: A Typical Argument list will be 8 Arguments passed from APPX :: -image, -session, -mode, -notify, -date, -priority, -queue, and -user :: Windows will break on the equals sign giving us 16 arguments in total | ||||||||
Line: 303 to 302 | ||||||||
:: %2 %3=%4 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
APPX Run Time
| ||||||||
Changed: | ||||||||
< < | | |||||||
> > |
| |||||||
Bugs: | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Comments: | ||||||||
Added: | ||||||||
> > | ||||||||
Read what other users have said about this page or add your own comments.
| ||||||||
Changed: | ||||||||
< < | -- JoeOrtagus - 10 Mar 2009 | |||||||
> > | -- JoeOrtagus - 10 Mar 2009 | |||||||
|