Run Now always runs jobs in foreground and synchronous, not matter how synchronous options is set for the job. Asynchronous run mode is used to run jobs in background and it should be used only for jobs that run or may run for hours. For all other jobs please use synchronous mode. Use multiple job queues to run jobs concurrently. As for the JALScript.Execute try to schedule this job to run synchronous and see if that helps. : I have found that I do not get as many informational : messages in the log as I would like. Thus, I tried : adding calls to LogAddMessageEx. Although I have a : lot of other code in VBScript, this snipet shows my : problem: Sub Main() : Dim JalCommand : JalCommand = "LogAddMessageEx ""INFO""" & : "," & : """@V"job_id"""" & : "," & : """@V"job_name"""" & ", : ""Generating semaphore file for step 02""" + : vbCrLf : JALScript.Execute(JalCommand) : End Sub : The problem is that if I choose to "Run Now" (after : setting Asynchronous "On" so the thing doesn't hang) : the message gets added to the log. However, if I : schedule the job, nothing gets added. Any ideas?
|