I guess you are asking about detached script or database type jobs. In the current version 3 and prior there is no built-in method available for identifying which system process belongs to which job. The scheduler knows this information but it is not displayed anywhere. Version 4 will allow stopping, pausing and restarting jobs of any type right from the scheduler GUI. Now, let's get back to the current version. One of the solutions for this problem is to record process IDs in the job log or other log file. Here is an example: Dim PID, number Dim message, string Call "kernel32.dll", "GetCurrentProcessId", "uu", True, "", PID Concat "Process ID: ", PID, message LogAddMessageEx "INFO", @V"job_id", "@V"job_name"", message ... continue here with what you want this job to do ... : Hi, : How can you identify which job to kill. For instance when the scheduler : launches I start there or 4 different 24x7 jobs that take hours to run. : All the jobs show up in the Lower windows status bar but I have no way of : knowing which job is which in task manager. Occasionally I need to : preemptively stop a job before it completes processing. Any suggestions on : how to do this? : The jobs are listed in Windows Task Manager but they are all listed ad 24x7. : So far when I guess which job is the right one. (based on CPU utilization, : memory used ect) I am WRONG. : Thank you : for the suggestion : ~Joe
|