[Root @ Liu ~] # Crontab-E <br/> crontab: Installing new crontab <br/> [root @ Liu ~] # Crontab-E <br/> crontab: no changes made to crontab <br/> you have new mail in/var/spool/mail/root <br/> [root @ Liu ~] #/Sbin/service crond restart <br/> stop crond: [OK] <br/> Start crond: [OK] <br/> learn how to use VI <br/>: q! -- Discard modification to the file and exit. <Br/>: WQ -- save the file modification and exit. <Br/> learn the Command Format of crontab: <br/> the first part of the format is the time setting, and the other part is the command to be executed, we have a certain agreement on the time setting. The first five * numbers represent five numbers. The value range and meaning of the numbers are as follows: <br/> minute (0-59) <br/> hour (0-23) <br/> date (1-31) <br/> month (1-12) <br/> Week (0-6) // 0 indicates Sunday <br/> besides the number, there are also several special symbols */-, <br/> * indicates the number in the value range. "/" indicates the meaning of each value. <Br/> */5 indicates every five units. <Br/>-represents a number from a number to a number. <Br/> separate several discrete numbers. <Br/> my rules: <br/> per week, restart the server at half past three on the other day of 7 <br/> # auto reboot every Sunday Half past there in the morning <br/> 30 3 **, 7 reboot <br/>