How to setup Cron Jobs in cPanel hosting | Configure cron job

Поделиться
HTML-код
  • Опубликовано: 23 фев 2023
  • In this video, we will setup cron jobs in cPanel hosting. Configure cron job for file execution and run file automatically. The cron is a utility service in Linux that is used to execute tasks repetitively. In this tutorial, we will set up a cron job to execute a PHP file per 5 minutes and per minute, per hour, per day, or per month.
    Get the Best Hosting and domain from here -
    bluehost.sjv.io/hostingdomain
    As you know, the cron job service is used to execute files respectively without any user interaction.
    Source for this tutorial
    technosmarter.com/php/how-to-...
    You can easily configure the cron job using the cPanel. If you have cPanel hosting and want to create a cron job to execute a file, send automatic reminders, send offer emails per minute, per hour, per day, week, or month, then create logic in a file and execute with the command in cron job service.
    Run a cron job for your file. For example - if you want to schedule posts in time intervals then your file will be executed at a given time and also you can set your time interval from cron jobs options in cPanel.
    You can easily set up cron jobs from the cPanel hosting. You have to write a Linux command to run a file at a given time interval. Configure the path for the file in the root folder or any other folder inside the root folder.
    Source for this tutorial -
    Website
    technosmarter.com
    For any question, use our Techno Smarter QA platform.
    Ask a Question
    technosmarter.com/qa
    or other videos by Techno Smarter...Subscribe below links!!
    Facebook
    / technosmarter
    Instagram
    / technosmarter
    Twitter
    / technosmarter
    RUclips Channel
    / technosmarter
    #technosmarter #cronjobs #cron-jobs #setup-cron-jobs #cpanel #command #linux #setup #configure #cronos #php #file #execute #run #linux-command #cron #hindi #cron_job_setup_in_hindi
    Reference -
    1. How to setup cron jobs in cPanel hosting .
    2. Configure cron job in cPanel.
    3. Run cron job for a particular file.
    4. How to write command in cron job .
    5. Linux command in cron jobs .
    6. How to setup cron jobs in cPanel hosting in Hindi.
    7. Execute PHP file using cron jobs in cPanel.
  • НаукаНаука

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

  • @JeetSamanta-op2jp
    @JeetSamanta-op2jp 26 дней назад +1

    thanks bro its working

  • @smarttechmanchar
    @smarttechmanchar 6 месяцев назад +2

    thanks

  • @ufaqanjum2719
    @ufaqanjum2719 7 месяцев назад

    my cron job is not working not showing any error using red server

    • @TechnoSmarter
      @TechnoSmarter  7 месяцев назад

      Kindly get help and support from your hosting provider. They will help .

  • @INNOVATIONSTUDIO
    @INNOVATIONSTUDIO 3 дня назад

    How to use python script in corn job

    • @TechnoSmarter
      @TechnoSmarter  3 дня назад

      Use same file from python that you want to be executed. Set that file path in command line.

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

    Fast cron job activity working hosting sir

  • @rajwindersingh-zt6if
    @rajwindersingh-zt6if 6 месяцев назад

    Sir how to set 3 minutes cronjob

  • @GW-CHIRAG
    @GW-CHIRAG Год назад

    Can you give your send php

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

      We have updated send.php file code here
      technosmarter.com/php/how-to-setup-cron-job-in-cpanel-hosting

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

    Hi Can you help why i am getting this error: X-Powered-By: PHP/7.4.33
    Set-Cookie: PHPSESSID=39be7b74f18ad230c7d99e1ba93f0783; path=/
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate
    Pragma: no-cache
    Content-type: text/html; charset=UTF-8
    Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in class.php on line 1738

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

    In Hostinger, crons jobs are not working sir.,
    Could you please help me in it

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

      Do you have cpanel hosting or hpanel only ?

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

      @@TechnoSmarter Hpanel only sir, please help me sir

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

      Create a cron job command for a file execution and set your desired time .

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

      @@TechnoSmarter could you please give any reference vidoe or link for it

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

      1. Go to the tutorial link available in the description box and understand or watch full video .
      2. Chat with hostinger team . They will setup cron job for you .

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

    Sir cron job not working

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

    nao funciona

  • @emilysandra7219
    @emilysandra7219 3 месяца назад

    How to setup my website forget password using cron job

    • @TechnoSmarter
      @TechnoSmarter  3 месяца назад

      Forget password doesn't require cron job because this is manual process by user .

    • @ALMA_X_YT
      @ALMA_X_YT 2 месяца назад

      ​@@TechnoSmarterSir ye cron file kese hoga vo bata do main jb bhi home page se game pr click krta hu to 404 error ata hai jb tk main url ko edit krke last me .php na link do

    • @TechnoSmarter
      @TechnoSmarter  2 месяца назад

      Cron job ke liye aapko proper working file set krni padegi command m .

    • @ALMA_X_YT
      @ALMA_X_YT 2 месяца назад

      @@TechnoSmarter vo hi to nahi pata sir kese hoga ager koi RUclips pr video pada hai to bata plzz

    • @TechnoSmarter
      @TechnoSmarter  2 месяца назад +1

      Isi video main complete dikhaya gaya hain file set karna .

  • @nightgamingsahid
    @nightgamingsahid 3 месяца назад

    sir per 1.5min me cronjob kayse set karu

    • @TechnoSmarter
      @TechnoSmarter  2 месяца назад

      If you really really really need every 90 seconds, have cron run it every minute, put your entire php script in a "while ( $n < 2 )" loop, and sleep for 30 sec at the end of the loop.