I suspect this jobs is being run twice. One time it exist, another time it jums over the Exit because of the "if" logic. Try adding a MessageBox to the script and rrstarting the scheduler. If am right you will get the message box displayed twice. If this is something else please post the trace file for this script. : I have the following code snippet in a 24x7 job : which is activated as "Run on Startup"" : VERIFY_JOB_QUEUE: // now verify we have a production job queue : FileExists global.qfilename, ok : IfThen ok, CHECK_MODEM_LIST : // oops... no Job control file : CreateAlert "No Job Queue" : Exit : CHECK_MODEM_LIST: I know that the missing file is being trapped, : since I am getting an alert email sent by : CreateAlert. But the program does not exit, it : continues on. Can you tell what I'm missing? : Thanks : Paul
|