Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hi anyone,
does anyone have a script which is able to monitor a queue status and send out an email to the administrator?for example:
q123 reached its full job limit (10), so i want an email sent out to me to inform; and reroute all new jobs to queue q890.

Instead of doing that, why don't you create a generic queue that points at both queues. When a job is submitted to the generic queue, VMS will send it to which ever queue can handle it. If both queues are full, then it will wait in a "Pending" state until a queue is able to process it.
Example:
$ init/queue/batch/start q123/job=10
$ init/queue/batch/start q890/job=10
$ init/queue/generic=(q123,q890)/start q123_q890Now, submit all your jobs to the queue q123_q890.
If you're still looking for a monitoring script, take a look a the lexical function f$getqui().
Ken

![]() |
TCP and QIO
|
script to restart process
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |