11 Cron Scheduling Task Examples in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

44 Responses

  1. PRAKASH C says:

    any one can help me to run cronjob for every 45 days

  2. Dipesh Udhlani says:

    Nice to read it!

  3. susmita says:

    Hi I am not able to install cron in my Centos 7 machine

  4. Hans says:

    I need something to call a .php webpage every minute, can this be handled?

  5. Junaid Ali says:

    Thanks for this share, I need your help on an real urgent basis, I need my server to automatically update its dynamic ip with the DDNS provider every time my system reboots or boots, kindly help me with the command, i am using ddclient for dynamic ip updating to my DDNS provider with the following command:

    "/usr/sbin/ddclient -daemon 300 -syslog -verbose -noquiet -debug"

    kindly tell me the exact command for running the above command as root as soon as my system boots up.

    Secondly i want my server to execute this command on every reboot even if no one has logged in yet, is it possible to run the command using crontab before even anyone logs in the server?

    Really Appreciate any help from any of you who knows how to do it..


    • Ravi Saive says:


      Which Linux distribution you’re using? if it’s CentOS, you can add the below command to /etc/rc.local file, this file executes commands when system boots up.

      /usr/sbin/ddclient -daemon 300 -syslog -verbose -noquiet -debug

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.