how does Deadline execute the Post Job vbscript? Does it use full-fledged vbscript or have you embedded a subset of vbscript in Deadline?
In my vbscript file I am trying to launch an external script via:
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run( commandLine )
but Deadline reports this error:
Scheduler Thread - Error executing post job script: Line 32: Object required: ‘WScript’ (ExocortexScripting.Exceptions.ScriptException)
I am used to launching vbscripts via WSH ( CScript or WScript ). If that functionality isn’t available to me, how should I execute command lines from with the Deadline post job vbscript?
Thanks,
Paul
Hi Paul,
Try this:
Set WshShell = CreateObject( “WScript.Shell” )
WshShell.Run commandLine
Cheers,
- Ryan