create a schedule task in Linux

create a schedule task in Linux - I finally found the article too, called "crontab". This is the result of my quest to create a schedule task on linux. I myself do not know exactly how it works functionally.

 The following steps create a schedule task in Linux :


create a schedule task in Linux
  • Go to the terminal / console and make sure you're logged in as root
  • Type the command [root @ localhost ~] # crontab-e
  •  Press "Insert" on the keyboard to activate the edit mode in the editor.
  • The basic principle is the use of crontab: ***** command executed
  • * The first show min [0-59]
  • * The second shows the hours [0-23]
  • * The third shows the day of the month [1-31]
  • * The fourth show in [1-12]
  • * The fifth day of the month indicates [0-6] where 0 = week

The command to be executed according to our will.

Example in create a schedule task in Linux we will create a schedule to automatically shut down the computer at 7 pm each day, it was written: * 19 *** / sbin / poweroff
After that press the "Esc" key and type: wq! (means = save and exit the editor)
Final word luck ...

Want more details click this link ...

2 comments:

DON'T SPAM !!!