How to Run CRON Job on LIVE SERVER on Cpanel in Laravel Project - Laravel CRON JOB on Live Server

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 90

  • @pathshala-mb7yz
    @pathshala-mb7yz 3 месяца назад +1

    Skipped all the top recommended videos just to watch yours, and it was my best decision today-totally worth it! 😍

  • @rashidrafiq9239
    @rashidrafiq9239 11 месяцев назад +2

    Thank you :) , It was to the point and helpful.

  • @shoaibnasir4277
    @shoaibnasir4277 Год назад +1

    bro this tutorial really help me to create a corn job for my application! well-done keep it up!

  • @thumbsup2498
    @thumbsup2498 Год назад +1

    after trying many solution on intrernet finally got something that really did the job. 👍👍

  • @sksaifuddin977
    @sksaifuddin977 Год назад +1

    Best wishes, Best in class, thanks sir.

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      Your welcome brother 👍

    • @sksaifuddin977
      @sksaifuddin977 Год назад +1

      @@ProgrammingExperience Sir , Apne Putty k setup nahi bataya, woh kaise kare

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      @@sksaifuddin977 terminal hoga apke cpanel mein bahan se command run kar lo jo mein putty mein kar raha hu.

    • @sksaifuddin977
      @sksaifuddin977 Год назад +1

      @@ProgrammingExperience but I m working on live and IN live every day it;s run auto. through terminal it only runs once right

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      @@sksaifuddin977 yes, but if you want to run in after minutes, you can add also.

  • @amarchand1504
    @amarchand1504 Год назад +1

    Great job dear.. thanks a lot..

  • @musclemaven209
    @musclemaven209 Год назад +2

    Really helpful. Thanks

  • @abunoormostofasuza9276
    @abunoormostofasuza9276 Год назад +1

    Very helpful

  • @Aman-Batra
    @Aman-Batra 8 месяцев назад +1

    Video Is very great and Helpful..👍
    I have one doubt Bro 12:50 par jo everyminute() function hai
    Woh CRON job lgaaane k baad compulsory hai ??
    Bcoz mujhe every 30 minutes ka cron job lganaa hai .

    • @ProgrammingExperience
      @ProgrammingExperience  8 месяцев назад +1

      everyminute() ko replace karke 30 minutes ka laga do, jo bhi apko time chahiye uske saath replace karna hoga.

    • @Aman-Batra
      @Aman-Batra 8 месяцев назад +1

      @@ProgrammingExperience Okk...THANKS Bro

    • @ProgrammingExperience
      @ProgrammingExperience  8 месяцев назад +1

      Your welcome brother 😊

  • @hammadskysofttech
    @hammadskysofttech Год назад +1

    very helpful video thanks brother

  • @newsnests
    @newsnests Год назад +1

    zabar dast bro

  • @AkhileshYadav-lv3kh
    @AkhileshYadav-lv3kh 2 года назад +1

    Thank you sir 👍👍

  • @rahul_thakur__
    @rahul_thakur__ Год назад +1

    Agar cpanel se he cron job set karna tha to jo command banayi hai (TestLog) usme every munute kyo define kiya.
    Agar hum ek controller function banaye and uska url hum capanel ki cron job me de de to wo bi ese he work karega na. To extra command banane ki jarurat kyo hai. I am not able to understand this topic. I want to create dynamic cron jobs withing laravel like IF i want to send a whatsapp message through api after 4 minutes, then what we have to do to achive this. PLease exxplain

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      First point:- cpanel mein and command kernel mein every minute kyun add kiya?
      Answer:- cpanel mein hum isliye us command ko dal rahe hein jisse ki server us commod ko hit karein jo bhi humne cronjob mein time set kiya us par like every minute or etc.
      & Kernel.php mein humne us command ko every minute isliye set kiya kyunki jab bhi cron job run ho cpanel bali to humari jitni bhi commands kernel.pho mein hein or unko jo bhi humne time set kiya vo particular usi time par chalegi fir cron job cpanel bali kitni bhi baar hit ho.
      kernel.php mein hun saari commands ko register kar dete hein unke time ke bases par, but jab hum cpanel mein add karte hein command to hume every minute (* * * * *) php artisan schedule:run ko set karna chahiye isse yeh fayda hein ki jab apke project mein 5 commands hein or vo alag-alag time par set hein jaise ki koi every minute, every hour etc to cpanel to every minute hit karega par kernel.php mein vo check hoga ki kon ai command kab run honi chahiye.
      Second point:- command banane ki jarurat kyun hein?
      Answer:- sabse pehli baat ki hum used kar rahe hein Framework PHP ka, to ismein humein ek proper way se kaam karna chahiye unka used karna ana chahiye apki baat bilkul sahi hein ki hum function ka url dekar cron job mein add kar de but vo tarike bahut bad hein isliye to hum command create karte hein.
      Command create karne se fayda yeh hein ki humari jitni bhi cron job logica honge vo ek perticular file ke andar separated rahenge or humare diye hue name ke saath fir usko locally run bhi kar sakte hein command ko hit karke or kabhi bhi humein usko find karne mein problem nahi hogi or cron job set karne mein dikkat nahi ayegi.
      Or ek or benefit yeh hein ki aap bas ek baar php artisan schedule:run ko cron job mein add kar dete ho fir apko kabhi bhi or koi cron job banani ho to apko cpanel mein again add karne ki jarurat nahi bas command create karo kernel.php mein register karo add ho jayegi.
      Third point:- dynamic cron job kaise create kare laravel mein?
      Answer:- bhai dekho sabse pehle to apko laravel thik se sikhna hoga, kyunki apne jo questions kiye hein usko dekhar yeh lagta hein hein ki apne abhi properly laravel ke concepts nahi dekhein hein, to sabse pehle learn karo.
      Dynamic cron job karne ka tarika yahi heim brother jo is lecture mein bataya gaya hein or iska 1st part jarur dekhein.
      I hope you will satisfied, if you have any query, then let me known.
      👍🤗

    • @rahul_thakur__
      @rahul_thakur__ Год назад +1

      @@ProgrammingExperience Thank you so much for the detailed answer ❤️.
      I understand using commands instead of just hitting the route from cpanel cron.
      Next I am learning queue concept in laravel hoping I am on right track

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      @@rahul_thakur__ okay cool Brother 👍

  • @pacetech786
    @pacetech786 Год назад +1

    I Appreaciate these efforts. what about hpanel where we get special character not allowed

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      I have not worked on hpanel, so that's why i have no any idea about that, I have idea about cpanel and aws.

  • @shajedulislamkhandoker9997
    @shajedulislamkhandoker9997 2 года назад +1

    thank u so much

  • @Aman-Batra
    @Aman-Batra 8 месяцев назад +1

    Bro i dont have ssh access in my Cpanel
    Can i do it on local and copy paste that single command file on cpanel ????
    And Same for Any controller ??

    • @ProgrammingExperience
      @ProgrammingExperience  8 месяцев назад +1

      Yes, you can do it, and in your cpanel have no ssh access, then you can use terminal, terminal is available in all cpanels.

    • @Aman-Batra
      @Aman-Batra 8 месяцев назад +1

      @@ProgrammingExperience Bro where can i find my terminal in cPanel ??

    • @ProgrammingExperience
      @ProgrammingExperience  8 месяцев назад +1

      Search terminal in your cpanel.

    • @Aman-Batra
      @Aman-Batra 8 месяцев назад +1

      I tried but didn't get any result

    • @ProgrammingExperience
      @ProgrammingExperience  8 месяцев назад

      Hmm then, i think in your cpanel have not available the terminal.
      Pls contact to support for ask about the terminal.

  • @kusekwaJunior-w9e
    @kusekwaJunior-w9e Год назад +1

    Thanks brother for this, you save my ass for sure

  • @uniqueworld8266
    @uniqueworld8266 Год назад +2

    bhai error ara hai pam configuration ka

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      pam ya pem ka?

    • @uniqueworld8266
      @uniqueworld8266 Год назад +1

      bhai Ye likha ara hai you are not allowed to access to ( crontab) Because of pam configuration

    • @uniqueworld8266
      @uniqueworld8266 Год назад

      bhai Please meri Help Krdo Bhot muskil me hu me chay aap mujhe apna Insta Id bta do

    • @uniqueworld8266
      @uniqueworld8266 Год назад +1

      @@ProgrammingExperience bhai Ye likha ara hai you() are not allowed to access to (crontab) because of pam configuration

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      @@uniqueworld8266 to yeh apke hosting balo se boliye unki taraf se enable nahi h

  • @chandunextclickchandu
    @chandunextclickchandu Год назад +1

    ❤❤❤

  • @prosenjitsikdar
    @prosenjitsikdar Год назад +1

    Hostinger par nahi ho raha. Special character error show ho raha

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      Cron section hein hostinger mein?

    • @JoyRoy-xt3ck
      @JoyRoy-xt3ck Год назад +1

      @@ProgrammingExperience ha hay. ap jo code bataya wo code Special character bol raha nahi ho raha. or mere laravel ki projects hay.

    • @ProgrammingExperience
      @ProgrammingExperience  Год назад

      @@JoyRoy-xt3ck mein jaise used kar raha hu baise hi hota hein but mere ko idea nahi ki apke pass kyun nahi run ho raha, dekhna padega isko aise pata nahi chalega.

    • @JoyRoy-xt3ck
      @JoyRoy-xt3ck Год назад

      @@ProgrammingExperience thank you so much

  • @fitNdedicated
    @fitNdedicated 3 месяца назад +1

    Please make videos on laravel 10 and newest versions

  • @md.sirajulhowlader7353
    @md.sirajulhowlader7353 2 года назад +1

    😍

  • @shivendratripathi9916
    @shivendratripathi9916 Год назад +1

    Bhai server par error show ho Raha hai

  • @shivendratripathi9916
    @shivendratripathi9916 Год назад +1

    Bhai plz send me comand which is use to setup

  • @fitNdedicated
    @fitNdedicated 3 месяца назад +1

    Next lecture ki link dedo bhai real project ki jisme cron job set kr rhe ho mil nhi rhi

  • @ehtashamshami6969
    @ehtashamshami6969 5 месяцев назад +1

    Next lecture?

  • @uniqueworld8266
    @uniqueworld8266 Год назад +1

    bhai please help krdo

  • @shivendratripathi9916
    @shivendratripathi9916 Год назад +1

    local.ERROR: No arguments expected