Changeset 1516 for pykota/trunk/bin

Show
Ignore:
Timestamp:
06/03/04 10:51:03 (20 years ago)
Author:
jalet
Message:

logs job's size in bytes now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/waitprinter.sh

    r1405 r1516  
    2424# the printer would effectively never print again if the previous job 
    2525# was already fully printed. 
    26 if [ x$PYKOTAACTION != "xDENY" ] && [ x$PYKOTAPHASE == "xAFTER" ]; then 
     26if [ x$PYKOTAACTION != "xDENY" ] && [ x$PYKOTAPHASE == "xAFTER" ] && [ x$PYKOTAJOBSIZEBYTES != "x0" ] ; then 
    2727  until snmpget -v1 -c public -Ov $1 HOST-RESOURCES-MIB::hrPrinterStatus.1 | grep -i printing >/dev/null; do 
    2828   sleep 1 ;