Kevin:
The following are two Windows scripts that start a UniData phantom
service when Windows starts up.
UD_Startup.vbs
'
' Runs the UniData startup script so the DOS window doesn't appear
' and nothing appears on the taskbar.
'
' This script should be setup to run once (upon startup) using the
' user credentials that has administrator privileges.
'
' Initialization
Dim SleepTime
'
' Pause for 30 seconds to allow UniData to start up.
SleepTime=1000*30
WScript.Sleep SleepTime
'
' Start batch file that runs at UniData startup
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.run "%comspec% /c E:\Backups\Scripts\UD_Startup.bat",0
Set WshShell = Nothing
UD_Startup.bat
@rem
**********************************************************************
@rem ** Start the UDT process and the DataTrust phantom
@rem
**********************************************************************
cd /d E:\DataTrust\Dta
E:\IBM\ud72\bin\udt PHANTOM RUN DTABP DTA.SERVICE
@rem
**********************************************************************
@rem ** End script
@rem
**********************************************************************
exit
HTH,
Bill
------------------------------------------------------------------------
Kevin King said the following on 9/22/2009 8:08 AM:
Unidata 7.1.22. Is it possible to start a phantom job in another account?
If so, how does one make this happen?
-Kevin
http://www.PrecisOnline.com
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users