Тёмный

Linux Crash Course - Scheduling Tasks with Cron 

Learn Linux TV
Подписаться 733 тыс.
Просмотров 112 тыс.
50% 1

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@MichaelDude12345
@MichaelDude12345 2 года назад
Thank you Jay! Your videos are always so intuitive. I don't know if you get told this enough, but you have a real gift for teaching. You are a huge help to everyone entering the linux community, and its people like you who help to grow this open source ecosystem by making it more accessible. I have learned a lot from your videos and it happened a lot quicker than I thought it would.
@larrywilliams8010
@larrywilliams8010 3 года назад
Cron is a great tool, has been since the 70's when it came out on Unix V6. I'm glad it's still around.
@RicardoGarciso-f3y
@RicardoGarciso-f3y 7 месяцев назад
Hi Larry, Lucky you were around Unix in the 70's! 😃😘👍
@z8669zzz
@z8669zzz 2 года назад
This video explained so much about scripts running at various times.
@mysteriousjungalist
@mysteriousjungalist 3 года назад
I can't thank you enough for this channel.
@blahblahlaboratory9381
@blahblahlaboratory9381 Год назад
same
@superhighmind
@superhighmind Год назад
​@@blahblahlaboratory9381double same😅
@Revanth2344
@Revanth2344 Месяц назад
Triple same​@@superhighmind
@superhighmind
@superhighmind Месяц назад
@@Revanth2344 !!??
@unbekannter_Nutzer
@unbekannter_Nutzer 3 года назад
The information at around 6:00 is not correct. If dow and dom are specified and don't start with a *, the fields are OR-combined, so the command will run at the 15th of August and at every Friday in August, not only on those 15th of August which happen to fall on a Friday. man 5 crontab says: Note: The day of a command's execution can be specified by two fields - day of month, and day of week. If both fields are restricted (i.e., don't start with *), the command will be run when either field matches the current time. For example, ``30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday. One can, however, achieve the desired result by adding a test to the com‐ mand (see the last example in EXAMPLE CRON FILE below). And D.C.s comment about 6:30 is correct, too, but I guess that was a mistake of attention, not information.
@caveman1226
@caveman1226 3 года назад
6:30 "* 11 * * *" = every minute of the 11th hour, not "at 11am." That would be "0 11 * * *"
@Hobbitstomper
@Hobbitstomper 3 года назад
A quick mention on how to set a cronjob every X amount of hours (i.e 0 */4 * * *) would have been great, as beginners might think that this is not possible.
@ChuckBoecking
@ChuckBoecking 3 года назад
Great job! I believe that editing /etc/crontab is best practice on servers. That way you can see all jobs in one place.
@michalroesler
@michalroesler Год назад
Awesome video about Cron. Jay - You're awesome. Terrific. I love this channel almost as much, as I love Interstellar (2014).
@ranaellese
@ranaellese 9 месяцев назад
actually, your whole course is really helping I'm not following all of it but when I search for any topic I feel safe when I find your vids :"D
@guilherme5094
@guilherme5094 3 года назад
I like the editing style and thanks Jay.
@michaelwright2986
@michaelwright2986 5 месяцев назад
Thank you very much. I just need to schedule a single task: for oncers like this, graphic front ends are useful, but I can't find one. This video makes me feel comfortable about going back to where I started, editing text files. This video is very clear and confidence inspiring.
@DonnaBussure
@DonnaBussure 4 месяца назад
This was a great video! Nicely done and very informative!
@chillnacho
@chillnacho 2 года назад
Awesome video! I have so many ideas for this. Thanks for the great tutorial.
@saidneder41
@saidneder41 3 года назад
Loving the new intro and thumbnails!
@umka7536
@umka7536 3 года назад
I do use cron under user account. There are number of tasks which I need to do only in my home directory. And thanks a lot for @reboot and @hourly tips. I didn't know that.
@dustinhess6798
@dustinhess6798 Год назад
Thanks again for another great video. I have learned so much watching your channel.
@moamenabdelkawy5718
@moamenabdelkawy5718 3 года назад
You're a great explainer Jay. Thank you.
@ThomasFaller
@ThomasFaller 3 года назад
Cron is possibly the best feature in the Linux ecosystem.
@jonneymendoza
@jonneymendoza 3 года назад
windows has something similar
@ThomasFaller
@ThomasFaller 3 года назад
@@jonneymendoza yeah task scheduler is not bad
@ultron7461
@ultron7461 2 года назад
Your all videos are Awesome. Thank you very much Sir. 😇
@AmishaSharma_1
@AmishaSharma_1 15 дней назад
Very well explained even for the person who never used the cron.. thanks..
@udayarpandey3937
@udayarpandey3937 3 года назад
You are doing a great job sir. Keep serving the society.
@iandron7119
@iandron7119 7 месяцев назад
Excellent. You make it crystal clear.
@terraflops
@terraflops Год назад
the cron job with the echo "hello world" didn't do anything
@etiennelabeille
@etiennelabeille 2 месяца назад
Great job, Jay.
@ranaellese
@ranaellese 9 месяцев назад
I don't know it's you or RU-vid but I'm really thankful for the Arabic translation
@TopestG-k5m
@TopestG-k5m 7 месяцев назад
Great editing...keeps the focus on, great work
@richardracine9055
@richardracine9055 8 месяцев назад
You talk at Mach 1.5. Its worth being more deliberate so new people can follow. Thx for the grt video.
@fortune_hr
@fortune_hr 4 месяца назад
Amazing video, great explanation. thank you
@NoEgg4u
@NoEgg4u 3 года назад
@6:27 -- Regarding: 11 AM If you set your job for: * 11 * * * echo "hello world" Will the above run once, at the click of 11 AM? Or, will the job run every minute, from 11:00 - 11:59? To have the job run once, at only 11:00, would the entry need to be the following?: 0 11 * * * echo "hello world" Thank you.
@keinermendoza4631
@keinermendoza4631 10 месяцев назад
Thanks for sharing the knowledge, this seems like something very very useful.
@merol3198
@merol3198 Год назад
IF We choose Sunday, 15th of March, It means Sunday OR 15th of March. It does not mean Sunday AND 15th of March. It uses OR for day of week and day of month when neither is a *.
@blahblahlaboratory9381
@blahblahlaboratory9381 Год назад
Man, you have so many cool videos!
@normang.827
@normang.827 3 года назад
Thanks Jay, great explanation!
@Elliria_home
@Elliria_home 3 дня назад
Thank you. This was *very* helpful.
@rcdenis1
@rcdenis1 3 года назад
The AT command is like a "one shot" cron job.
@bryanthompson1070
@bryanthompson1070 Год назад
So if I use @daily, what time will it run? Is there a way to set the daily time?
@Matthew_080
@Matthew_080 3 года назад
Stunning work!
@nevoyu
@nevoyu 3 года назад
Great video, are you going to do a video on systemd timer?
@Der_Rotsteiner
@Der_Rotsteiner 3 месяца назад
I do everything manually (even executing cpu instructions)
@theparten
@theparten Год назад
your screen on the machine in the background is nice...how do set or get one for my pc...
@Mythologos
@Mythologos 2 года назад
OMG I never have to do a Guix Pull myself again!
@roacchi
@roacchi 2 месяца назад
thanks it helps me solve my problem
@HadesTimer
@HadesTimer 3 года назад
I think it's interesting your using Cron on Pop Os. Because I don't think Cron is installed by default on Pop Os.
@yhauzeur
@yhauzeur 17 дней назад
love this video
@noferblatz
@noferblatz 3 года назад
Another issue you didn't cover: it might be anacron rather than cron. I back up using a script I placed in /etc/cron.daily. No editing of a crontab. Just insert the backup script, and cron/anacron will execute it along with every other script in that directory. There are also cron.hourly, cron.weekly and cron.monthly directories.
@kevinoconnor1396
@kevinoconnor1396 3 года назад
Ok. Noob time. Running Ubuntu 20.04 in WSL - found I had to start the CRON service for CRON jobs to run. Makes sense I guess - but just sayin ... for any other noobs out there like me. Guessing that would be pretty much universal - yeah? Thinkin' you can config the service to autostart ... back down the rabbit hole!
@iberianful
@iberianful 20 дней назад
GREAT VIDEO!!!
@kapilch
@kapilch 3 года назад
great explanation, Thanks
@shashikantovhal1769
@shashikantovhal1769 3 года назад
Thanks for this tutorial.
@alihaydar8601
@alihaydar8601 3 года назад
Fantastic!!! big thanks :)
@tmoumimahmoud6966
@tmoumimahmoud6966 Месяц назад
Thank you Man, very helpfull .
@mihai6564
@mihai6564 9 месяцев назад
fantastic video
@udhayaraav3490
@udhayaraav3490 2 года назад
Good One easy understanding.
@sugabeariadt
@sugabeariadt 2 года назад
What if you want to run the command every 5 minutes? What would the syntax be for that?
@12Q46HPRN
@12Q46HPRN 2 года назад
*/5 * * * * Sorry, just saw this (2 months late)
@firefoxyouth
@firefoxyouth 8 месяцев назад
Nice video mate --> * * * * * sudo subscribed
@marinosterbah1883
@marinosterbah1883 3 года назад
Nice job so helpful
@baburakbas5127
@baburakbas5127 Год назад
clean and understandable
@marcosoliveira8731
@marcosoliveira8731 3 года назад
Thanks so much!
@abelashenafi6291
@abelashenafi6291 Год назад
Thanks man
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 3 года назад
Super thanks.
@Bouipi
@Bouipi Год назад
14:43 so I dont need to add bash command (bash ~/Documents/blah/blah.sh) as a user?
@dolodestinations7628
@dolodestinations7628 9 месяцев назад
its so crazy to me that there are no tutorials on how to execute a python script with a cron job. If anyone knows of any tutorials. it would be greatly appreciated.
@AP-ib7rf
@AP-ib7rf 2 месяца назад
how did you know about august 15th ?
@nelsontan
@nelsontan Год назад
Hi Jay I'm able to execute a py script via the interpreter and terminal but it just won't run in Cron (be it root or user) even with absolute paths :-(
@dersinndeslebens9780
@dersinndeslebens9780 2 года назад
I want to run a batch-job of freefilesync after reboot. I used this command but it doenst work: DISPLAY=:0.0 @reboot /usr/bin/FreeFileSync /home/username/Schreibtisch/Testbatch.ffs_batch where is my mistake?
@vhadzdansalan
@vhadzdansalan Год назад
Can you do scp or rsync using cron please
@s9209122222
@s9209122222 3 года назад
I can't find this command on Arch Linux.
@bobbybologna3029
@bobbybologna3029 3 года назад
"cron jobs" just sounds so funny
@Nakim0
@Nakim0 2 года назад
i now understand CRON
@vaithis
@vaithis Год назад
When you crontab -r on production server accidentally 😅😅😅😅
@SeaLand-b9r
@SeaLand-b9r 2 месяца назад
Hey
@G.T828
@G.T828 Год назад
5:38 India in 1947 be like
@yamiletmayan9324
@yamiletmayan9324 Год назад
Vidmate apk
@ozrencupac
@ozrencupac 3 года назад
First
Далее
Proxmox VE Full Course: Class 7 - Creating Containers
16:17
Linux Crash Course - awk
16:07
Просмотров 98 тыс.
БЕЛКА РОЖАЕТ? #cat
00:24
Просмотров 388 тыс.
У НАС ДОМА ЗАВЕЛАСЬ КРЫСА 🐀
01:00
Linux Crash Course - Understanding Logging
29:10
Просмотров 48 тыс.
Linux Crash Course - The sed Command
15:25
Просмотров 123 тыс.
Linux New User Guide: 10 Things I Wish I Knew
23:31
Просмотров 460 тыс.
How SSH Works
8:54
Просмотров 540 тыс.
CrowdStrike IT Outage Explained by a Windows Developer
13:40
Linux File System/Structure Explained!
15:59
Просмотров 4,1 млн
Cron Jobs For Beginners | Linux Task Scheduling
12:47
Просмотров 224 тыс.
Linux Crash Course -  Managing Users
32:59
Просмотров 104 тыс.
Linux Crash Course - Managing Groups
23:43
Просмотров 45 тыс.
60 Linux Commands you NEED to know (in 10 minutes)
10:50
БЕЛКА РОЖАЕТ? #cat
00:24
Просмотров 388 тыс.