I want to schedule jobs with at
, but I'm not sure what happens if the computer is suspended at the specified time: Will the command be executed as soon as the computer wakes up again (like with anacron
) or will it not be executed at all (like with cron
)?
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.
That's what the manpage says about that, however it doesn't quite match my case: I don't want to specify a job to run in the past, I want to run it in the future and ask how at
will treat it if the computer is sleeping then.
This is not a duplicate of Run at command when computer is sleeping because this question asks whether at
will wake up the computer to execute the command, neither is it a duplicate of How to prevent atd from running past jobs? because this is about how to prevent at
from executing those “old” jobs (with a very good answer though!).