#!/bin/sh cd /var/spool/at if ls [0-9]* >/dev/null 2>&1; then echo -e "Owner\tJob\t\t\tDate" for i in [0-9]* ; do j=${i%%.*} echo -e "`ls -l $i|cut -c17-23`\t`sed -n 2p $i`\t`udate $j`" done else echo "no jobs" fi