working on a script to purge old cups jobs

Posted by auburn on May 9th, 2010 — Posted in miscellaneous tech, cups

This is what I have so far. I’m stealing the idea from Kurt Pfeifle.

lpstat -o | egrep `date -d "1 minutes ago" "+ %I:%M:"`