It should work fine when the job starts on schedule.  To make it work in "Run Now" mode set job to run "asynchronous" .  : I have written several vbScript automation jobs and I'd like to be able to  : write informational type messages to the 24x7 Job log when they've  : completed.  : If you look at the following code, I'm simply trying to run the JAL  : LogAddMessageEx command from vbScript. However, this code will hang 24x7  : everytime and I have to stop and restart it. Is there something I'm doing  : wrong, or maybe a better way to go about it?  : Note: The MsgBox command is simply to show the proper syntax of the  : LogAddMessageEx command before it is submitted to JAL.  : Sub Main( )  : Dim JalCommand  : JalCommand ="LogAddMessageEx  : ""INFO"",0,""Job  : Status"",""Job Info"" " & vbCrLf  : MsgBox JalCommand  : JALScript.Execute(JalCommand)  : End Sub   
   |