0

When I review the queue by command atq

$ atq
28  Wed Oct 31 10:23:00 2018
27  Tue Oct 30 21:20:00 2018
25  Tue Oct 30 21:19:00 2018
29  Wed Oct 31 10:42:00 2018
26  Tue Oct 30 21:20:00 2018
20  Tue Oct 30 18:25:00 2018
23  Tue Oct 30 18:28:00 2018
19  Tue Oct 30 15:43:00 2018
21  Tue Oct 30 18:27:00 2018

The yesterday tasks are still pending there

atq     lists the user's pending jobs, unless the user is the superuser; in that case, every-
             body's jobs are listed;

However, yesterday has gone.

What's the reason atq demonstrate such a outdated list.

muru
  • 69,900
  • 13
  • 192
  • 292
AbstProcDo
  • 2,453
  • 4
  • 23
  • 55
  • Did the command that was scheduled run successfully? Was the system powered on at the scheduled time? – ewatt Oct 31 '18 at 05:34
  • 1
    If the at daemon `atd` isn't running, your scheduled jobs won't be started. – Ulrich Schwarz Oct 31 '18 at 06:10
  • could you please elaborate it, I did not found `atd` $ atd -bash: atd: command not found @UlrichSchwarz on macos system – AbstProcDo Oct 31 '18 at 06:33
  • @Sawajiri: try `service atd status` or `ps -ef | grep atd`. As a system daemon, the binary live in `/usr/sbin/atd`, which is not usually in your executable search path, which is why you can't just start it. – Ulrich Schwarz Oct 31 '18 at 13:58
  • @UlrichSchwarz There is no `atd` on macOS (which is what the user is using according to most of their recent questions). – Kusalananda Oct 31 '18 at 20:01

0 Answers0