I know that to remove a scheduled
at job I have to use
atrm "numjob1 numjob2", but is there an easy way to do that for all the jobs?
For more AIX 6 systems you can simply do:
I had more than 58k jobs in the atd (someone rebooted the server and for some reason atd service not started). Removing the jobs using atrm is very painful for very high queue.
I stopped atd and deleted all dirs from /var/spool/atjobs and files from /var/spool/atspool . For me it worked.
rm -rf /var/spool/atjobs/* ; rm /var/spool/atspool/*