I need to run a command at a specified time, so I use this tool in

Опубликовано: 01 Февраль 2023
на канале: The Lazy SysAdmin
1,563
118

The at command in Linux is used to schedule a command or script to run at a specified time in the future. Here's the basic syntax for using at:

at [options] [time]

Where time is the time you want the command to run, specified in a variety of formats.

at 12:30 PM
at now + 30 minutes
at 17:00 tomorrow
at 4 PM July 7

For example, let’s create a job that will be executed at 2:00 am

at 02:00

After entering the at command and specifying the time, you will be presented with a prompt to enter the command or script you want to run.

tar -xf /home/lazy/file.tar.gz

When you have finished entering the command, press CTRL + D to exit the prompt. The command will be executed at the specified time.

For more information on using at, including available options and time formats, consult the manual page.

Subscribe for more Linux commands tips!!!

PLEASE SUBSCRIBE :)
PLEASE HIT LIKE IF IT HELPED :)

GIVE SUPPORT -   / lazysysad  
BUY ME A COFFEE - https://www.buymeacoffee.com/lazysysad
PAYPAL - https://www.paypal.com/donate/?hosted...

Drop me your feedback and comments.

That's all for now.

If this video helped you in any way, please like share and subscribe!

Thank you!!!


Смотрите видео I need to run a command at a specified time, so I use this tool in онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Lazy SysAdmin 01 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,563 раз и оно понравилось 118 людям.