Content #
atq命令可以查看系统中有哪些作业在等待: $ at -M -f tryatout.sh teatime warning: commands will be executed using /bin/sh job 5 at Fri Jun 19 16:00:00 2020 $ $ at -M -f tryatout.sh tomorrow warning: commands will be executed using /bin/sh job 6 at Fri Jun 19 16:53:00 2020 $ $ at -M -f tryatout.sh 20:30 warning: commands will be executed using /bin/sh job 7 at Thu Jun 18 20:30:00 2020 $ $ at -M -f tryatout.sh now+1hour warning: commands will be executed using /bin/sh job 8 at Thu Jun 18 17:54:00 2020 $ $ atq 1 Thu Jun 18 16:11:00 2020 a christine 5 Fri Jun 19 16:00:00 2020 a christine 6 Fri Jun 19 16:53:00 2020 a christine 7 Thu Jun 18 20:30:00 2020 a christine 8 Thu Jun 18 17:54:00 2020 a christine $ 作业列表中显示了作业号、系统运行该作业的日期和时间,以及该作业所在的作业队列。
From #
Linux命令行与shell脚本编程大全