In this Linux/Mac terminal tutorial, we will be learning about cron jobs and how to schedule commands with crontab. The will allow you to run commands on a repetitive schedule. So if you want to run a job daily, weekly, or at a certain time of day, this video will show you how you can get this set up. This helps a ton with system administration type of tasks and can automate a lot of work. Let’s get started.
The snippets from this video can be found at:
✅ Support My Channel Through Patreon:
✅ Become a Channel Member:
✅ One-Time Contribution Through PayPal:
✅ Cryptocurrency Donations:
Bitcoin Wallet – 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet – 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet – MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey’s Public Amazon Wishlist
✅ Equipment I Use and Books I Recommend:
▶️ You Can Find Me On:
My Website –
My Second Channel –
Facebook –
Twitter –
Instagram –
#Linux #Mac
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
Julian Russell
April 19, 2020Thank you!!! 🙏🏾
shivam shrivastava
April 19, 2020Hello Corey
In this video Buddy No Discussion about time Zones
Please could you tell me how to add time zone of my choice and by default it takes what time zone.
Simon Heron
April 19, 2020Thank you very much for your explanation. And thank you for the tip on the crontab guru website!
TANISHQ VYAS
April 19, 2020Those who unliked it are all Non-techies or dumbheads
TANISHQ VYAS
April 19, 2020Those who unliked it are all Non-techies or dumbheads
That Guy
April 19, 2020Perfectly explained 👌
Magister Classicus
April 19, 2020what if a cron job requires a user to input a password?
Kinjal Vora
April 19, 2020Can I schedule a backup to let's say google drive using crontrab?
I see that you have an example for google Pictures but I am wondering if it is similar for the drive?
Marlo Mitchell
April 19, 2020Great vid.
abdullah alasaad
April 19, 2020would that work automatically even if the machine is turned off?
Gaurav Sharma
April 19, 2020Very useful, you've cleared all my doubt, really appreciate.
Joseph Princiotta
April 19, 2020Great work sir! Thank Yhou
Ethan Chan
April 19, 2020Hello Corey, thanks for the awesome video!
I was trying to run a web monitoring script (which sends me an email when new content is posted) using crontab but came across a snag. I put all the commands I needed in a shell script. The script executed perfectly when I manually ran the shell script in the terminal, but when I scheduled the task into crontab, it kept raising this error –> -bash: syntax error near unexpected token `newline'.
Do you have any idea what might have gone wrong?
scott lucas
April 19, 2020For any problems understanding the crontab timer:
https://crontab.guru/
Loop loop
April 19, 2020how may I get the first Friday of each month please?
Gon-Salis ZB
April 19, 2020.
Luke M Perez
April 19, 2020Maybe I missed it in the comments below or in the video, but what happens if the chron job is set and the machine is asleep (closed laptop) or off?
Ajay Kumar Arya
April 19, 2020sir this algo is not working because every second is calculte in to a min so your query have not provide a solution
chris Athanas
April 19, 2020well done explanation, now i understand
Yajant Bhawsar
April 19, 2020Hello All/Corey, Is there any way to set-up crons, which take less CPU UTILIZATION ? When I run multiple crons on server, the CPU UTILIZATION increases vastly.
Any help or recommendatios are appreciated. Thanks.
Abdullah Ajmal
April 19, 2020Hey can I run a swift file using Cron?
gztsarmata
April 19, 2020thank you; great , simple presentation, very usefull !
KEIC
April 19, 2020Great video, didn't feel like nearly 19 minutes, everything was clear and concise.
One thing that was probably worth mentioning though – what if you want to set a cron job for last day of every month? Set the days to 28-31 and of course leave the month as *.
Although Corey showed us how to specify a range, last day of month kinda threw me off a bit. It took a few seconds to realise haha I guess I'm just slow.
Kerwin So
April 19, 20203 people will never use crontab
betcald1
April 19, 2020great video. thanks. if I want to start an application .Appimage? how it would be the sentence?
Ben Walsh
April 19, 2020I really enjoyed this video. All your videos are so well done. Would you be able to do a video comparing CRON to AT? When you have time, of course. Both seem like they could be very useful.
raghav atreya
April 19, 2020How to mimic cron job in django
Gaunter O'Dimm
April 19, 2020You'r Breathtaking Corey!
Anil P
April 19, 2020Please tell me how can I execute my shell script as a Cron job . The script is written as part of automation.
keshav nayak
April 19, 2020the best you tube channel when it comes to learning
MrTutoDZ
April 19, 2020Tu for the vidéo 🙂
StarCitizen Modding
April 19, 2020You have taught me a lot. just so you know 😀
Farah Haris
April 19, 2020Thank you so much for the explanations!
Simon WoodburyForget
April 19, 2020So there's absolutely no years and seconds option? That's odd… also, how does it handle time zones, and winter/summer time, and leep seconds and leep days? This tool seems very loosely put together. I don't understand why it's so popular.
codecaine
April 19, 2020I needed this refresher. Great tutorial my friend.
Dragan Dimitrijevic
April 19, 2020Excellent Corey, very well explained. Not jumping from one topic to another. Bravo!
Tung Nguyen
April 19, 2020Is there any way to run a script whenever we start the server?
Joseph Bautsch
April 19, 2020Can you run a 'sudo' command like this?
WhiskeyEchoBravo
April 19, 2020Simple just amazing! THANK YOU Corey!
JlXip
April 19, 2020Thank you!!!
Karl Morisset
April 19, 2020Thanks !
UnknownSource
April 19, 2020Thank you for this video. Finally, i perfectly understand Cron jobs and rsync!
john mwansa
April 19, 2020this is the nice teaching
Po Xin
April 19, 2020Ubuntu 16.04 = export EDITOR=/bin/nano