Bash Scripting for Beginners: Complete Guide to Getting Started - Scheduling Jobs (14)

preview_player
Показать описание
In this video, we'll learn about the "at" command which will help you set up a task to kick off at some point in the future.

*LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!*

*🎓 BRAND NEW UDEMY COURSES AVAILABLE!*
Check out my new courses on Udemy and learn something new!

*🐧 SUPPORT LINUX LEARNING!*
_Note: Royalties and/or commission is earned from each of the above links_

*⏰ TIME CODES*
00:00 - Intro
00:46 - Why would you want to schedule scripts to run later?
02:00 - Installing the "at" command in Linux
03:01 - Creating an example Bash Script for today's lesson
05:13 - Scheduling a job with the at command
08:15 - Managing "at" jobs with the atq and atrm commands
09:13 - Additional examples of using the "at" command

*OTHER BASH SCRIPTING SERIES EPISODES*

*🌐 LEARN LINUX TV ON THE WEB*

*⚠️ DISCLAIMER*
Learn Linux TV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content.

#linux #linuxtutorial #bash
Рекомендации по теме
Комментарии
Автор

Linux is so satisfying but it takes about 3 years to finally get to a point where it all makes sense and know how to do things

noweare
Автор

Wow...I didn't think that it would be so simple. That's awesome!

LinXnerd
Автор

Thank you sir for expert-level sharing

privateness.network
Автор

The at utility is not that common on the wild, cron on the other hand is everywhere. Knowing how at works is valuable still since it allows to schedule one time things easily: stopped a daemon for maintenance? schedule the start command so that it definitely restarts it again even if you forget

AlbusRegis
Автор

Another handy tid-bit! Never heard of the at command.

jojobobbubble
Автор

9:32
FYI; I found it needs to be in US date format (MM/DD/YY). My system is in and set to AUS date format (DD/MM/YY), but won't work unless I put it in US format.

DrakenARTZsteam
Автор

You can use atrm $(atq | cut -f1) to do a batch remove.

justthej
Автор

Hi, the at command in fedora throws an error (no atd running?), and don't execute the sheduled task. however it list with atq the tasks... any advice? Thanks

RiosRa-ar
Автор

Thanks so much for the tutorials, just wondering: It shows "when" it will be ran with an id but not "what" ? if there are many id's, how do we know which script will be ran?

daniyarcacitti
Автор

I'm getting

at: garbled time

when I run the at command on my Mac

funsojoba
Автор

Is there a way to run at command on git bash?

i have the "at" command installed on my pc, but when i try to run it, the terminal says that its deprecated and i should use "schtasks" instead;


but i found the syntax for schtasks a bit more complicated;
I am in windows 10;

JoaoPaulo-oxpr