<!-- : Begin batch script @ECHO OFF CLS ::copy /y NUL %TEMP%\jobrunning.log >NUL TIMEOUT 5 cscript //nologo "%~f0?.wsf" //job:VBS GOTO :EOF ----- Begin wsf script ---> <package> <job id="VBS"> <script language="VBScript"> Dim ObjShell Set ObjShell = CreateObject( "WScript.Shell" ) Dim FPath TEMP=ObjShell.ExpandEnvironmentStrings("%TEMP%") FPath = TEMP & "\jobrunning.log" Dim ObjFS Set ObjFS = CreateObject("Scripting.FileSystemObject") IF ObjFS.FileExists(FPath) THEN ObjFS.DeleteFile FPath END IF Set ObjShell = Nothing Set FPath = Nothing Set ObjFS = Nothing </script> </job> </package>
Welcome to FreeSoftwareServers Confluence Wiki
Overview
Content Tools