How to run a script at a certain time on Linux? [closed]

Look at the following:

echo "ls -l" | at 07:00

This code line executes “ls -l” at a specific time. This is an example of executing something (a command in my example) at a specific time. “at” is the command you were really looking for. You can read the specifications here:

http://manpages.ubuntu.com/manpages/precise/en/man1/at.1posix.html
http://manpages.ubuntu.com/manpages/xenial/man1/at.1posix.html

Hope it helps!

Leave a Comment