January 18, 2025

About

You might sometimes feel like downloading large files, like datasets, late at night to avoid using up network resources.

At Command

You can specify when to run the command using the ‘up’ command as shown below 。

echo "download.sh > download.log 2>&1" | at 01:20 AM

How to list up the commands

atq

It shows the list of commands that are going to be executed at specified time

2	Fri Nov 29 02:22:00 2024 a username0
1	Fri Nov 29 02:20:00 2024 a username0

How to remove the reserved command

atrm 1

As you can below terminal which is result from atq command, job 1 is removed from the list.

2	Fri Nov 29 02:22:00 2024 a username0