troubleshooting Question

AIX print queue question.

Avatar of crafuse
crafuseFlag for Canada asked on
Unix OS
2 Comments1 Solution3077 ViewsLast Modified:
Experts,

I have a script that runs every minute that brings up any downed print queues. The script has been running for months without any problems. This morning, however, someone wondered if there is the possibility that a print queue brought back up could cause a print job that was interrupted to start all over again. The printer is a network printer. The script follows. AIX 5.3. I'm giving this 500 points because there is some urgency to this matter. Please let me know if any further information is required.

#/bin/ksh
# Script to restart DOWN print queues

enq -As | grep "DOWN" | cut -f 1 -d " " | while read ln
do
enable $ln > /dev/null 2> /dev/null
done
ASKER CERTIFIED SOLUTION
sjm_ee

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros