EASIEST Cron job vs Crontab Tutorial for DevOps Engineer (Linux Hindi Part-6)

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • DevOps Live Batch 7 starting June 29th bit.ly/devops-batch-7
    Cron jobs are very important and a part of Day to Day activities of a DevOps Engineer.
    In this video you'll make your first cron job and also run bash scripts in crontab.
    00:00 Intro
    01:10 What is Cron
    02:10 Cron vs Crontab
    03:00 Crontab explained by example
    07:00 Making your first cron job
    10:30 How does a devops engineer thinks
    13:15 Execute bash script crontab
    19:00 Outro
    -
    Watch Linux For DevOps Engineer Playlist: • Linux For DevOps Engineer
    Watch DevOps with AWS Playlist: • DevOps Engineer AWS
    -
    ✨ INSTAGRAM: @train_withshubham
    / train_withshubham
    👨🏻‍💻 GITHUB:
    github.com/LondheShubham153
    💼 LINKEDIN:
    / shubhamlondhe1996
    👨‍💻 DISCORD: @TrainWithShubham
    / discord
    📩 EMAIL:
    trainwithshubham@gmail.com
    -
    About -
    TrainWithShubham is the channel created with the idea of bridging up the gap between academical learnings and corporate world. We all know that schools and universities doesn't necessarily prepare us for the corporate world. There's a huge difference between what's going on in the industry and what's being taught to us in schools and colleges.
    We are here to prepare you for the world with content based on my industry knowledge & experiences as a developer.

Komentáře • 224

  • @anwar99899
    @anwar99899 Před 2 lety +14

    This man is top notch 👏
    The way he teach..
    Wow! Totally Surprised 😯

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +2

      woahh.. thanks a lott..
      comments like these makes my day..
      please do share in your circle 😊

    • @satishraju5188
      @satishraju5188 Před 8 měsíci

      This is 💯 % true ❤❤

  • @ssrinivas42
    @ssrinivas42 Před 2 lety +4

    So much +ve vibes while watching your videos. Started with one video and cannot stop seeing all of them. Good work bro. Keep going. . . !!!

  • @ashishpandey8766
    @ashishpandey8766 Před měsícem +1

    Thanks Shubham

  • @ritikarajput1994
    @ritikarajput1994 Před 6 měsíci

    You are amazing 😍
    Thank you for making DevOps easy to us .❤

  • @bloodocto1028
    @bloodocto1028 Před rokem +1

    Thanks Sir
    Today completed all 6 Videos
    You are gems...):

  • @jalandharbehera2456
    @jalandharbehera2456 Před rokem +1

    Really you are superb..... Previously I feared when scripting came into my mind but now you make it easy for me thanks devops wala bhaiya

  • @ahsanplanet5306
    @ahsanplanet5306 Před rokem +1

    I have search many videos for cron concept clear but this video amazing for me cron concept clear Thank a lot

  • @factscopy7412
    @factscopy7412 Před měsícem +1

    Thanku so much devops wale bhai 🥰 you are great

  • @priyankaa_mehra
    @priyankaa_mehra Před měsícem +1

    Very Useful Playlist🙌👏

  • @akshayjadhav1415
    @akshayjadhav1415 Před rokem +1

    Bhai bhai bhai tum toh lord ho bhai 😚😚😚😍thanks for this vedio lord of devops

  • @jalandharbehera2456
    @jalandharbehera2456 Před rokem +1

    Really Devops wala bhaiya pura mast and very intresting video.....

  • @satishraju5188
    @satishraju5188 Před 8 měsíci +1

    Pakka like karna padega Bhayya, aur no questions....aap bahut si talented ho...aap aisa bahut videos kariye, hum sikenge aapse🎉🎉

  • @architkumar1265
    @architkumar1265 Před rokem +1

    Bhai maza aa geya ehh series dekh ke... Confidence boost ho geya...✨✨💖💖

  • @adityadabhade6196
    @adityadabhade6196 Před 2 lety +1

    Apke khasiyat ye he ke... Aap hume bahut asan bhasha me batate ho.....difficult cheej aap easy kar dete ho...

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety

      Bas aisey hi asaan bhasha me Devops Project bana raha hu :)
      Bas abhi release hui hai

  • @ankitsuneja2249
    @ankitsuneja2249 Před rokem +1

    you are teaching us with passion and that's what make your teaching so good

  • @99north52
    @99north52 Před rokem +1

    bro i have completed all your Linux Series. these are really superb and specially the cron job part.. bro plz plz i request you to make more videos on devops.. you are doing really great ..thanks a lot again bro..YOU ARE SUPERB !!!

  • @sameerakhatoon9508
    @sameerakhatoon9508 Před 2 lety +1

    maza agaya bhaiyya playlist dekh k

  • @abhinavkapoor9057
    @abhinavkapoor9057 Před rokem +1

    Really thanks for your all video

  • @ishaishabashir161
    @ishaishabashir161 Před rokem +2

    Sir literally you are amazing, me jab se aap ka channel dhoonda hai bus DevOps k Liye aap k hi videos dekhi ja Rahi , ku k aap bohat ziada achy se explain kerty Hain hr cheez ko♥️

  • @mohammedkhan8781
    @mohammedkhan8781 Před rokem +1

    Great content man learning devops has never been this easy !!❤

  • @sakebakhtar9095
    @sakebakhtar9095 Před 2 lety +2

    The way you teach in your videos..
    I'm damn sure you will get millions of subscribers soon.

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +3

      oh bhaai.. thank you sooo much.
      I love teaching and be it a million or one of them, I will still have the same joy of teaching technology and things

  • @sameershaikh138
    @sameershaikh138 Před rokem +1

    Awesome Explanation Sir ...

  • @saiharsha4619
    @saiharsha4619 Před rokem +1

    Very clear explanation Shubham sir..👏

  • @Aa-tg7hx
    @Aa-tg7hx Před rokem +1

    It helped me a lot.Thanks a lot.

  • @souparnadutta7770
    @souparnadutta7770 Před 2 lety +3

    Just finished watching the whole playlist . With your guidance, it was easy to follow along. I got to learn a lot.
    Thank you so much for making these videos. Waiting for more new videos! ❤
    Starting with the Devops project playlist in the meantime.

  • @vikas9890
    @vikas9890 Před 6 měsíci

    Thanks bro.

  • @agun21st
    @agun21st Před 2 lety +1

    Cron Job concept clear. Thanks a lot

  • @debrajpradhan5500
    @debrajpradhan5500 Před 2 lety +2

    As promised, thank you for upload valuable video 🙏❤️

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +1

      So nice of you.. thanks a lot for your words.. hopefuly video me maza aaya hoga

    • @debiprasaddas6427
      @debiprasaddas6427 Před 2 lety

      debraj wanted to connect with you regrading few queries can u share ur emailid. Thanks!

  • @imharry404
    @imharry404 Před rokem +1

    Great.😍😍

  • @hopesunshine918
    @hopesunshine918 Před 2 lety +1

    What an explanation bhai amazing

  • @adityadabhade6196
    @adityadabhade6196 Před 2 lety +1

    Very nice video.... Your voice like magic.... It's very intresting videos...

  • @arunkumarbudhha8205
    @arunkumarbudhha8205 Před rokem +1

    very good 20/10.

  • @balajitelange8545
    @balajitelange8545 Před rokem +1

    Wonderful

  • @sharatshet7151
    @sharatshet7151 Před 2 lety +1

    Great explanation 👏👍👍👍

  • @omkarkashyap5367
    @omkarkashyap5367 Před 2 lety

    Awesome video 🔥🔥

  • @debiprasaddas6427
    @debiprasaddas6427 Před 2 lety +1

    great learning buddy !!

  • @kwagalgave
    @kwagalgave Před 2 lety +2

    Great Explanation.. anyone can understand easily

  • @ashishkarad8960
    @ashishkarad8960 Před 2 lety +1

    at the end aesa laga devops bhaiyya aur padhao time jaldi nikl gaya

  • @satishraju5188
    @satishraju5188 Před 8 měsíci +1

    Shubham bhayya, I want to learn powershell scripting from you, if possible....anytime you think that is workable for you....However, thank you so much so far for so many fantastic videos from you... respectfully, Satish!! 🙏🙏☺️

  • @prakashbohara718
    @prakashbohara718 Před rokem +1

    nice session !!!!1

  • @satishraju5188
    @satishraju5188 Před 8 měsíci +1

    Bhayya, I'm your new subscriber, from Andhra ☺️

  • @apnihorrorduniya
    @apnihorrorduniya Před 2 lety +1

    Bhai mail ke uper video bnao

  • @sakebakhtar9095
    @sakebakhtar9095 Před 2 lety +1

    Loved all your videos.
    By the way your voice is similar to Varun Dawan 😀

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety

      arey bhaaai.. thank you sooo muchh yaar.. maza aati hai sunn ke ☺️

  • @kazishafin1
    @kazishafin1 Před 2 lety +1

    Thank you from Bangladesh.

  • @somnathbehera427
    @somnathbehera427 Před 2 lety +1

    need more videos on this playlist

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety

      Definitely.. abhi devops waala khatam karke idhar daalta hu

  • @HarjendraRawat
    @HarjendraRawat Před rokem

    Seriously Man ! You makes Everything So Easy to Learn .
    Is There Any Dedicated Video For Nagios And kubernetes for Devops You Already have or Going to make in future ?
    please let me know .
    And Keep Up The Good Work . 👍

  • @aniketbhagat6812
    @aniketbhagat6812 Před 2 lety

    Thanks bro

  • @nurainahmad7192
    @nurainahmad7192 Před 2 lety +1

    Nice content

  • @myexperience6464
    @myexperience6464 Před 2 lety +2

    Hai Shubham,
    a very nice video, could you please share the list of cronjobs that you were used in real world scenario, it will be very helpful to me and others
    thanks in advance

  • @sguptzz
    @sguptzz Před 2 lety +1

    Finally someone know that cron exists

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety

      Hahaha.. thanks bhai.. I will bring more and more such topics, please keep learning and sharing

  • @Swastikshukla714
    @Swastikshukla714 Před 2 lety +1

    Perfect 😎 ab shubham bhai se padhega india tbhi toh badhega india

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +1

      Bhai goal toh vahi hai.. India ko aware karna hai about the tech opportunities

  • @jit1969
    @jit1969 Před rokem +1

    Hi shubham ,
    Is the cronjob we need to use in k8 & where? Could you explain

  • @ratikantamohanta
    @ratikantamohanta Před 2 lety +2

    Hi your videos are good to acquire knowledge. Thanks for all dedication. I have one question outof linux please respond to it "How to change endpoints without writing any manifest file"

  • @sainathmitalakar3081
    @sainathmitalakar3081 Před 2 lety

    Bro please upload more videos❤

  • @RAHULPATIL-se3ih
    @RAHULPATIL-se3ih Před 11 měsíci

    dear sir how can be set am or pm wise timing set

  • @debrajpradhan5500
    @debrajpradhan5500 Před 2 lety +1

    Sir, backup_day wala line %m%Y ye wala line samajh nhi aaya.
    Otherwise aap itne smile se padhate ho ki sab aasan lgta hai.
    Thank u sir keep smiling . 🙏💓

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +1

      vo formatting ke liye use hota hai.. jissey ki mai date ko month year ke format me daal paau.. %m month and %y year ke liye

  • @3am_watch
    @3am_watch Před rokem +1

    brother i have used the same code to check disk but in loop where we compare usage with 90 there comes an integer error that it says it cannot compare two different data types what to do ....i have searched and tried a lot of ways but nothing works for me

  • @niharikaraj5262
    @niharikaraj5262 Před 2 lety +1

    Samjh gaye 🎉

  • @rohitsuryawanshi601
    @rohitsuryawanshi601 Před rokem +1

    Sir please make more videos on shell scripting

  • @sejalshinde209
    @sejalshinde209 Před 2 měsíci

    Can you tell how to stop the running crone jobs?

  • @harshsrivastava4990
    @harshsrivastava4990 Před 2 lety +1

    Desperately waiting for next videos.
    When it will get uploaded?

  • @rubeenakhan5054
    @rubeenakhan5054 Před rokem +1

    when we set time for job to execute , we encounter the issue of time zone ,India Standard Time (IST) is 5:30 hours ahead of Coordinated Universal Time (UTC).
    please tell us the easy way to understand this ...

  • @subhrajitsaha233
    @subhrajitsaha233 Před rokem +1

    Provide us some questions to solve on our own

  • @shubhammeshram2744
    @shubhammeshram2744 Před 2 lety +2

    @TrainWithShubham can you please make a video on the term used on bash script or in corn like & 2>1 /dev/null.....Something like this...means why it is used, how it is used etc

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +1

      Which terms, I did not get it.. I'll definitely make videos on it

    • @saipatel8645
      @saipatel8645 Před 2 lety

      @@TrainWithShubham He is saying about the usage of 2&>1 in shell script.
      Usage :- 2&>1 & to use 2 commands at once at a time.
      Else google it.

  • @anime8544
    @anime8544 Před rokem

    Sir git, GitHub ke videos nhi hai es playlist mai

  • @musicevent2426
    @musicevent2426 Před rokem +1

    Hhai php me run krwana he crontab help me

  • @dilipbaghel9535
    @dilipbaghel9535 Před rokem +1

    Great playlist sir... sir DevOps ke liye itni shell scripting aani sufficient hogi ya aur bhi padhna hoga, agar aur bhi padhna ho toh please topics suggest kr dijiye...

  • @nandkishordhakad8931
    @nandkishordhakad8931 Před 8 měsíci +1

    Sir my cronjob doesn't work

  • @prabhjotbhamra8409
    @prabhjotbhamra8409 Před rokem

    Hi, thankyou for sharing your knowledge
    just wanted to ask the difference between the crontab you showed earlier which was in /etc/crontab and the one which we edited through 'crontab -e'

    • @TrainWithShubham
      @TrainWithShubham  Před rokem

      The difference is that the crontab command is the interface provided by the system for users to manipulate their crontabs. The /etc/crontab file is a special case file used to implement a system-wide crontab. /var/spool/cron/crontabs/$USER (or whatever the path happens to be) is an implementation detail.

  • @PiyushChauhan-px1do
    @PiyushChauhan-px1do Před 11 měsíci

    bhai ye dev loops kab bane the ya banaye the ????
    because m 1st vedio se follow krra hu pr dev /loops kha bane ye ni dikhra?
    Plz ans

  • @lalitjain1828
    @lalitjain1828 Před rokem +1

    Hello Bhaiya,
    maja aagaya aaj bahut kuch seekha.😇
    par ek doubt hai ki agar Hour mein hum 4 rakhenge to kya 5 bajne ke baad logs create honge 🤔?

  • @jayant3u
    @jayant3u Před rokem +1

    Ha Shubham bhai cron aur crontab mein kya antar hai kaise kam Karta Hai bilkul samajh mein a raha hai.

  • @adityadabhade6196
    @adityadabhade6196 Před 2 lety +1

    Pls upolad RHCSA & aws associate level full cource videos....

  • @hrmodding
    @hrmodding Před rokem +1

    bhaiya yt-dlp pe upar ek video banao na.

  • @MoonSlayer007
    @MoonSlayer007 Před 2 lety +1

    sir when are u going to upload next video😀

  • @simranbanwait
    @simranbanwait Před rokem +1

    is video ka part 2 to banta hai bhai please...

  • @musicevent2426
    @musicevent2426 Před rokem +1

    Bhai help

  • @achyuthcheekatla3332
    @achyuthcheekatla3332 Před 2 lety +1

    Hi...
    Whether we have to install Crontab. To write a crontab script to check the heap memory...

  • @goyanihimalay4127
    @goyanihimalay4127 Před rokem +1

    Bhai ek video banavo how to read from Oracle database and put that data in Excel file using crontab every second or hour

  • @lalitsharma9849
    @lalitsharma9849 Před rokem +1

    Hi sir , it is giving error in if condition, integer expression expected

  • @vidhyadharyadav4340
    @vidhyadharyadav4340 Před rokem +1

    Hello , check disk log file aapne create nhi kiya he kya wo automatic create hogi

  • @Swastikshukla714
    @Swastikshukla714 Před 2 lety

    Bro konsi playlist mein hai deployment on docker wala video mil nhi rha 😅

  • @rahulmehta2951
    @rahulmehta2951 Před rokem +1

    I have done the same but my cron job is not running ... On checking the status I found error :bad command; while reading /etc/cron.d/crontab and same error with /etc/crontab
    Please help with this

  • @yashraj7188
    @yashraj7188 Před rokem +1

    Aweome playlist , just wanted to ask will I loose all this data if I stop and restart my Ec2 instance?

    • @TrainWithShubham
      @TrainWithShubham  Před rokem

      If you terminate instance, yes.
      If you just stop and start, No.

    • @yashraj7188
      @yashraj7188 Před rokem +1

      @@TrainWithShubham then what would you suggest, should we leave the instance running 24/7 or should we stop it after we're done using it?

    • @TrainWithShubham
      @TrainWithShubham  Před rokem +1

      @@yashraj7188 stop after use

  • @lalitsharma9849
    @lalitsharma9849 Před rokem +1

    Aapke ki bhi script mai error aare hai , uske baad run ho jaati hai, but in my case only giving error like - integer expression expected, how will solve sir

  • @paras.relytree6217
    @paras.relytree6217 Před rokem +2

    full backup on sunday and incremental backups from mon to saturday. the backup files should be retained for 14 days. iske liye kese cron job setup karege , mene script to create kia for mysql backup, but stuck in that (file name as mysql_back.sh) and you used (cut -d) what is used of -d ??

    • @TrainWithShubham
      @TrainWithShubham  Před rokem +2

      aisey tasks toh office me dete hai

    • @paras.relytree6217
      @paras.relytree6217 Před rokem +1

      @@TrainWithShubham yes bro , m ryt now working on task for interview process, so mera script done ho gaya aapke video dekh kar + crontab also created for mon-sat , but stuck for sunday full backup

  • @ArbaazKhan-qy5uq
    @ArbaazKhan-qy5uq Před rokem +1

    When will the live DevOps Next Batch begin?

  • @devopswala798
    @devopswala798 Před 2 lety +1

    hi sir i am DevOps engineer and you tech to student essential to become a good devops

  • @parthibahazra9930
    @parthibahazra9930 Před 2 lety +1

    sir is this playlist complete now ?...... or in future are you going to uoload some more videos? ....i have been waiting for 1 month

  • @vedantchourasia2842
    @vedantchourasia2842 Před 2 lety +1

    Sir if in a script it requires password then how will we do example sudo command or doing ssh in other server

  • @rohanrustagi7857
    @rohanrustagi7857 Před rokem +1

    sir if my ubuntu machine is stopped then will crontab execute my cron jobs??

  • @rahulpimpalkar3557
    @rahulpimpalkar3557 Před rokem +1

    What will be corn for 90min bhaiya

  • @vijaymestry4236
    @vijaymestry4236 Před 2 lety +1

    sir i need job as Linux fresher as
    learn and earn

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety

      That's great.. keep adding new things to your skills.. you can get good jobs if you have great skills in your resume and professional career

  • @Suman522i1
    @Suman522i1 Před rokem +1

    is this end of the playlist?

  • @praveensindhu35
    @praveensindhu35 Před 2 lety +1

    Sir, mera ek friend Diploma Civil kiya hua hai, agar AWS and Devops kiya tho job milne ka chance hai, ya phir degree compulsory hai??

    • @praveensindhu35
      @praveensindhu35 Před 2 lety +1

      Oh kk. Thanks bhai

    • @user-ki1ym6jc6h
      @user-ki1ym6jc6h Před 2 lety +2

      @@praveensindhu35 no issue Bhai.....bindaast kr.... comment isliye delete ki kyoki thoda jyada hi Bata Diya tha uske bare me...aur degree chhodne wali baat bahot se logo ko pata nhii hai uski....

    • @TrainWithShubham
      @TrainWithShubham  Před 2 lety +1

      Yes chances toh hai.. its all on skills. jitne zyaada skills gain karoge utne hi zyaada chances hai Job milne ke

  • @ashishkarad8960
    @ashishkarad8960 Před 2 lety +1

    Devops bhaiyya need a vid on disk partition

  • @sheheryaraltaf1874
    @sheheryaraltaf1874 Před rokem +1

    10:28

  • @jalshamishra1598
    @jalshamishra1598 Před rokem +1

    Mera 2nd cron job nhi hua😭

  • @chandlerbing8164
    @chandlerbing8164 Před 3 měsíci +1

    Varun dhavan jaisa dikhta hai bhai tu

  • @bhuwantripathi2707
    @bhuwantripathi2707 Před rokem +1

    mera bhi nhi chla tha jab first corn job run kiya tha
    * * * * *