APPX Background Processing on a Windows Server
This document will APPX background processing when APPX is installed on a Windows server.
Overview
JOB is the only APPX process type you can make available for back ground processing. At the end of this document you will have made all the demo (DMO) JOB output reports candidates for background processing.
Required software components
APPX Desktop Client
- You can get the APPX Desktop Client from here.
APPX Server
- You need a functioning APPX installation. Follow instructions in this document to install APPX on Windows if you don't already have APPX installed.
- You should also have the variable APPX_BG_SCRIPT=appx_submit.cmd. You can place this variable setting inside your appx.env file. The appx.env file should go into your %APPXPATH directory (C:\Appx\data\appx.env)
DMO Demo APPX Application
DMO is demonstration application that is included with APPX on default installations.
Quick steps
APPX Designer
- Modify the JOB's OUTPUT process type to have Separate Task (Sep. Task) checked.
APPX Server
- Place the following inside your appx.env file, which should be in %APPXPATH or C:\Appx\data\appx.env
APPX_BG_SCRIPT=appx_submit.cmd
- The appx_submit.cmd command should contain
::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
:: We will ignore all but the -image and -session pairs to submit
:: an APPX session with syntax that will be similar to
:: c:\APPX\Appx.exe -session=BY2Z7JDC
:: If you were to view each argument passed to APPX_SUBMIT.CMD with the
:: following loop:
:: FOR %%A IN (%*) DO (
:: echo %%A >> c:\Appx\arglist.txt
:: )
:: You would likekly see something like this in arglist.txt
:: -image
:: C:\Appx\Appx.exe
:: -session
:: BY2Z7JDC
:: -mode
:: SPOOL
:: -notify
:: Yes
:: -date
:: 2009031201020202
:: -priority
:: 1
:: -queue
:: A
:: -user
:: Administrator
:: The following command should execute APPX with the session data as
:: an argument
::
%2 %3=%4
APPX Run Time
- On the JOB's output disposition screen select SUBMIT to BG
Bugs:
- Fixed - Bug Description 1.
- OPEN - Bug test - Test bug. Not valid.
Comments:
Read what other users have said about this page or add your own comments.
--
JoeOrtagus - 10 Mar 2009