I am running AIX 5.2 at the office and have many system printers. It seems that when users print a file called 3ALSE is created in the /var/spool/lpd/qdir/ which prevents me to cancel print jobs till deleted. I am looking for help writing a script that will cd to that directory and look for that file. If that file is there I would like for it to be removed. if the file is not, than I would like it to be a no action.
I have tried many if/else/then statements, but just cant get it to work right.
I would like to run this under cron every few minutes and when I do a simple bash script that cd's to the dir and rm -r the file my log file fills up if that file isnt present.
SIGH!!!!
Any help for me?
Thank you in advance...
Start Free Trial