#183583 atq shoundn't present results in jumbled order

Package:
at
Source:
at
Description:
Delayed job execution and batch processing
Submitter:
Dan Jacobson
Date:
2021-11-29 22:21:03 UTC
Severity:
wishlist
Tags:
#183583#5
Date:
2003-03-05 20:59:51 UTC
From:
To:
Package: at
Version: 3.1.8-11
Severity: wishlist
File: /usr/bin/at
Tags: upstream

$ atq
25      2003-03-12 03:57 a jidanni
15      2003-10-02 02:56 a jidanni
17      2003-05-04 14:43 a jidanni
26      2003-04-06 04:55 a jidanni
24      2003-03-06 15:00 a jidanni

the user wonders what order could this be. Why not do like ls(1), have
a flag -U if one doesn't need things in order.

Any order is better than no order.

Yes, I know "pipe to sort(1)".

#183583#12
Date:
2017-12-06 21:46:25 UTC
From:
To:
found 183583 3.1.20-3.1
thanks
The atq man page should say that the results are unordered.

The user might accidentally get ordered results one time and then build
a program with this assumption.

Thus it is important that you warn on the man page.

#183583#19
Date:
2017-12-06 22:02:37 UTC
From:
To:
Still consider ordering the results, in one way or another.
I mean that is what "queues" are about, order.

#183583#24
Date:
2021-11-29 22:18:56 UTC
From:
To:
Still an issue:

zira:~> atq
466     Tue Nov 30 09:00:00 2021 a vinc17
473     Tue Dec  7 09:00:00 2021 a vinc17
472     Mon Dec  6 23:00:00 2021 a vinc17