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. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  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.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

36 Responses

  1. 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 *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?