Created
January 4, 2022 09:45
-
-
Save davidraedev/f2c175717ffeebd24639b128e8a24036 to your computer and use it in GitHub Desktop.
list all at jobs and their contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for j in $( atq | sort -k6,6 -k3,3M -k4,4 -k5,5 | cut -f 1 ); do atq | grep -P "^$j\t"; at -c "$j" | tail -n 2; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment