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!!!
Watch video I need to run a command at a specified time, so I use this tool in online without registration, duration hours minute second in high quality. This video was added by user The Lazy SysAdmin 01 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,563 once and liked it 118 people.