Link to home
Start Free TrialLog in
Avatar of crafuse
crafuseFlag for Canada

asked on

AIX print queue question.

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
Avatar of sjm_ee
sjm_ee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of crafuse

ASKER

Sorry for the delay. Thanks for your answer.