Это видео недоступно.
Сожалеем об этом.

cPanel beginner tutorial 10 - Cron Jobs

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2015
  • In this tutorial I show you how to set up a cron job that will run a script on your site every few minute. You can also set cron jobs to run every hour, every day, once a week or once a year.
    /* FILE PATHS
    THIS WORKS
    /usr/local/bin/php -q /home/yourCpanelUsername/public_html/filename.php
    DIDNT TRY THIS
    /usr/bin/php -q /home/yourCpanelUsername/public_html/filename.php
    THIS DIDNT WORK FOR ME
    /home/yourCpanelUsername/public_html/filename.php
    */
    Playlist description
    ---------------------
    In this tutorial series we'll be learning how use the everyday tasks a web developer or webmaster needs to know. These tasks include managing files, MySQL databases, email accounts and more.
    Links
    ---------------------
    Visit this tutorial on my website: www.jozituts.com/
    Follow Jozituts on social media:
    facebook: / jozituts
    twitter: / jozituts
    youtube: / jozituts
    Follow my personal social media pages:
    facebook: / quentin.watt
    twitter: / quentinwatt
    youtube: / quentinwatt

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

  • @ShivamVerma786
    @ShivamVerma786 7 лет назад +7

    I like this man... Seriously That is the Kind of Tutorial that I need the most.

  • @sankyeat
    @sankyeat 6 лет назад

    This entire series has been fantastic. No one else, that I could find anyway, has broken down the web hosting side of things as well as this. Well Done and please keep up the content for beginners! :)

  • @ndagijimana
    @ndagijimana 5 лет назад

    You Guy!!! thank you, your video has really helped me achieve what i wanted thought religiously used it without understanding the use of '-q' in the path because thats what i was missing in my command.

  • @sahujiofficial7834
    @sahujiofficial7834 4 года назад

    Perfect tutorial series for developers or for whom who want to be... Thanks man🙏

  • @manigfoodhub2120
    @manigfoodhub2120 9 месяцев назад

    Thankyou so much. this is clear video to archive my task.

  • @alexandruconstantin6627
    @alexandruconstantin6627 7 лет назад +2

    nici video. for me it worked only by puting php -f before the path:
    php -f/home/CpanelUshername/public_html/script.php

  • @successfulpodcast
    @successfulpodcast 2 года назад

    Thank you. Cron jobs are perfect for my podcast network.

  • @juanchaher1810
    @juanchaher1810 5 лет назад +2

    I just learned how to automize half of my work

  • @jaydeepsapariya8532
    @jaydeepsapariya8532 3 года назад

    sir i can't create a file in my live server using cron job..
    plz help me how do i solve it.?
    i want to put file in server as per cron job set by me...
    everything i make it but not working how to solve it.. plz.

  • @nander1988
    @nander1988 4 года назад

    I liked the video but I have to say, what's up with those clickfarm comments? I think this is the worst I've seen of them and I spend way too much time on RUclips.
    Dont go down that path man. Just keep making videos like this and you'll be fine😉

  • @AmmarAlfadel
    @AmmarAlfadel 5 лет назад +1

    Please
    How i can do Cron Jobs per 1 minuet hosgatore hosting ???

  • @divyangkala
    @divyangkala 3 года назад

    I was unable to set a cron job.... the error comes the path name and the
    : permission denied

  • @uweopfern
    @uweopfern 5 лет назад

    running this simple is the same as running script which has POST method in it?? if they different how can i configure cron job on script which has POST or GET method

  • @MatchaOppa
    @MatchaOppa 8 лет назад

    Hi, I just started with Magento 2 and it says "One or more indexers are invalid. Make sure your Magento cron job is running." what am I supposed to do?

  • @the-beauty-of-creativity2083
    @the-beauty-of-creativity2083 10 месяцев назад

    Great video! thanks

  • @jhonbarera8080
    @jhonbarera8080 3 года назад

    Great video. I have a concern! at my level I want to make a specific function contained in the php file run since there are other functions also in the file. how can I write the command then

  • @gameeverything687
    @gameeverything687 4 года назад

    Very good tutorial. I'll be doing email next after I figure this out. So I set up a counter script on my site and it's just still not increasing. It increases when I go to the page, but here's the cron job:
    /usr/local/bin/php -q /home/zafadadynamic/public_html/testing/testing_cron_counter.php
    It's just a no-go. I game it a little time and it just doesn't work. :(

  • @devsabuj4818
    @devsabuj4818 3 года назад

    How to run cronjob starts 10am to end 10 pm everyday?

  • @KnownTechnical
    @KnownTechnical 6 лет назад

    Thanks Bro.......for increase my knowledge about it. Have a long life.

  • @qazifaizan4271
    @qazifaizan4271 7 лет назад

    great work can you tell me its working once per minute when i am changing it into once per day and giving custom time it is not working please can you tell .

  • @sakshigupta1884
    @sakshigupta1884 3 года назад

    hlo sir could you please help me automating python script using cron jobs in bluehost cpanel?

  • @Ace-ij6ec
    @Ace-ij6ec 5 лет назад

    Woow....i like this man the kind of tutorial i need

  • @AnishforU
    @AnishforU 5 лет назад +1

    Thanks bro....its works like a charm....

  • @user-bc6ue3ri7o
    @user-bc6ue3ri7o 5 лет назад +1

    how to see the results after running command?
    (error or bugs etc...)

    • @lepystudio8974
      @lepystudio8974 2 года назад

      you will have to manually create a log file

  • @nandomkumchi4377
    @nandomkumchi4377 3 года назад

    Thank you so much mahn... this was greatly helpful....

  • @nilkarhe
    @nilkarhe 7 лет назад

    What to do if Cron Job is not present in Hosting Panel ??

  • @kylebrownbridge
    @kylebrownbridge 5 лет назад +1

    Thanks Bro. Just deployed a crypto trading bot on on cron jobs!! wahooo . automation

  • @edenfesseha5472
    @edenfesseha5472 7 лет назад

    I found the video helpful. Thanks !

  • @DJOblion
    @DJOblion 8 лет назад

    I'm beyond confused, how to I access those scripts? I;am clueless I need some help.

  • @saikrishnasiliveru4350
    @saikrishnasiliveru4350 5 лет назад

    Thanks for your great knowledge.

  • @tanvirahmed8489
    @tanvirahmed8489 7 лет назад

    Nice tutorial. Very helpful.

  • @arsalanajmal
    @arsalanajmal 7 лет назад

    Thank you very much. It saved my time

  • @fawadazeem2248
    @fawadazeem2248 3 года назад

    Great! Worked for me

  • @muzzamilshahzad4427
    @muzzamilshahzad4427 7 лет назад

    Thank you very much for this great tutorial.....:)

  • @akanudosen2408
    @akanudosen2408 5 лет назад

    Cool tutorial man

  • @raylinanthony
    @raylinanthony 7 лет назад

    Thanks for this great tutorial. SendGod!

  • @emmanuelguerreronavarro1973
    @emmanuelguerreronavarro1973 3 года назад

    Thanks!

  • @websitedesigner9442
    @websitedesigner9442 7 лет назад

    Hi, its working thank you so much.

  • @PaulDickson7
    @PaulDickson7 5 лет назад

    What does the -q do?

  • @UK-dx1qi
    @UK-dx1qi 6 лет назад

    Thanks for this!

  • @dedelifestyles7836
    @dedelifestyles7836 6 лет назад

    Very informative

  • @vikash151990
    @vikash151990 7 лет назад

    very good tutorial

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

    thanks!

  • @shaogatalam5022
    @shaogatalam5022 3 года назад

    Nice video... it would be great if you make a 2020 version video for this.

  • @ashiquepuliyakkode5584
    @ashiquepuliyakkode5584 6 лет назад

    Thanks... This worked.... :)

  • @j_nkindi
    @j_nkindi 7 лет назад

    Thanks really useful,!

  • @renatojunior4571
    @renatojunior4571 4 года назад

    Very thanks bro

  • @camilleschori
    @camilleschori 3 года назад

    thx man

  • @javaspace
    @javaspace 8 лет назад

    /usr/local/bin/php -q /home/tnjcoalp/public_html/quick/cron_job/index.php this is not working for me. Mine also have to update the database. I am using cpanel 56.0.18, probably the latest. Need help.

    • @QuentinWatt
      @QuentinWatt  8 лет назад

      Contact your hosting provider. Maybe there is a slight mistake in the file path that they can help you with.

  • @klabnif5735
    @klabnif5735 8 лет назад

    good vid.. thanks

  • @Furkankeskinnn
    @Furkankeskinnn 7 лет назад

    thank you so much

  • @RiddimDubstep
    @RiddimDubstep 6 лет назад

    For me worked like this:
    php /home/user/public_html/trackname.php >/dev/null 2>&1
    P.S. You can set cron jobs for less than one minute. Oh, well. There is a workaround for this.
    Do 2 PHP functions and inside each other set an if clause for which you set a counter.
    Then execute the second function from the first one and the first function from the second one.
    When the if clause not met (if x < y for example) exit() the function.
    Then set sleep() for every few seconds you want.
    For example, set the if clause to 10 and sleep() to 6. If x is not < y then it exit(), else, it executes the if content.

    • @RiddimDubstep
      @RiddimDubstep 6 лет назад

      Note: That PHP will run on background on that period of time. Better set the cronjob to one minute and the PHP as I sad rather than set the cronjob to one hour for example, and set the if clause to 600 (for one hour). You'll run into timeout.

  • @vinothkannan7686
    @vinothkannan7686 6 лет назад

    very helpful

  • @waliddu62
    @waliddu62 7 лет назад

    Thanks a lot

  • @mohamedashif7487
    @mohamedashif7487 5 лет назад

    Thanks a lot :-)

  • @juanchaher1810
    @juanchaher1810 5 лет назад

    awesome

  • @AliBazen
    @AliBazen 6 лет назад

    This is good

  • @parasnshah2899
    @parasnshah2899 5 лет назад

    Sir how to call automatically api call using cron job in laravel

    • @QuentinWatt
      @QuentinWatt  5 лет назад

      lmgtfy.com/?q=how+to+set+up+a+cron+in+laravel

  • @andyajhisramadhan6453
    @andyajhisramadhan6453 7 лет назад

    Thank You.................... :D

  • @thecastiel69
    @thecastiel69 7 лет назад +1

    05:01 maybe this will wor......give executable permission to your php script and
    use the below line into your top of the php script
    #!/usr/local/bin/php -q

    • @zumabibi
      @zumabibi 6 лет назад

      You can set cron jobs for less than one minute

  • @kosterix123
    @kosterix123 5 лет назад

    Skip the blurb, starts at 2:22

  • @chiragchauhan6694
    @chiragchauhan6694 6 лет назад

    Good

  • @sahartal9503
    @sahartal9503 6 лет назад

    thanks :)

  • @Shinerweb
    @Shinerweb 6 лет назад

    Thanks

  • @chg_m
    @chg_m 7 лет назад

    YAYAYAYAY

  • @jorgemendez8915
    @jorgemendez8915 6 лет назад

    Not certain about the points made but ,if anyone else trying to find out how to learn ukulele try Cypouris Amazing Uke Coach ( search on google ) ? Ive heard some pretty good things about it and my colleague got amazing success with it.

  • @abedachouak5874
    @abedachouak5874 6 лет назад

    interesting points ,if anyone else wants to discover how do you treat psoriasis try Nadazma Awesome Psoriasis Helper (Have a quick look on google cant remember the place now ) ? Ive heard some interesting things about it and my friend got great success with it.

  • @abdulhakim9721
    @abdulhakim9721 6 лет назад

    interesting points ,if anyone else wants to learn about ukulele lessons online try Nadazma Ultra Uke Helper (do a google search ) ? Ive heard some interesting things about it and my m8 got great success with it.

  • @a.yashwanth
    @a.yashwanth 4 года назад +1

    I like this man... Seriously That is the Kind of Tutorial that I need the most.

  • @megacryptertuto9701
    @megacryptertuto9701 6 лет назад

    Nice tutorial. Very helpful.

  • @ridgealvin3570
    @ridgealvin3570 6 лет назад +1

    I like this man... Seriously That is the Kind of Tutorial that I need the most.