Package: at
Version: 3.2.2-1
Severity: normal

Dear Maintainer,

According to the man page, "If you specify a job to absolutely run at a
specific time and date in the past, the job will run as soon as
possible.  For example, if it is 8pm and you do a `at 6pm today`, it
will run more likely at 8:05pm."

However, when one attempts to do this in practice, the command fails
with an error "refusing to create job destined in the past":

```
$ date; echo echo test | at '13:00 today'
Thu  6 Jan 13:49:42 GMT 2022
at: refusing to create job destined in the past
```

I had expected the above commands to successfully create a job, run the
command "echo test" immediately, then immediately email me the output
(i.e. an email that just contains the word "test").

-- System Information:
Debian Release: 11.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-cloud-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages at depends on:
ii  libc6           2.33-1
ii  libpam-runtime  1.4.0-9+deb11u1
ii  libpam0g        1.4.0-9+deb11u1
ii  libselinux1     3.1-3
ii  lsb-base        11.1.0

Versions of packages at recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.94.2-7

at suggests no packages.

-- Configuration Files:
/etc/at.deny [Errno 13] Permission denied: '/etc/at.deny'

-- no debconf information

Reply via email to