Linux???????Crontab???
???????????? ???????[ 2015/6/2 13:29:37 ] ??????????????
??????????????????
????************************************************************************************
????cron?????linux?μ?????й????????????????????????????????????????Cron ??Linux?????÷???????????????????????????μ???????????????????
????/sbin/service crond start //???????
????/sbin/service crond stop //??????
????/sbin/service crond restart //???????
????/sbin/service crond reload //????????????
???????????????????????????????????????
??????/etc/rc.d/rc.local?????????β?????
????/sbin/service crond start
????????Cron?????????????????????????????????????????Cron???????????????????????
????1.?????crontab?????
????cron??????crontab???????趨cron?????????????????????Щ???????????
????crontab -u //?趨????????cron???????root???????????????????????????
????crontab -l //?г???????cron????????????
????crontab -r //???????????cron????
????crontab -e //??????????cron????
?????????root???????cron?????crontab -u root -l
?????????磬root?????fred??cron?????crontab -u fred -r
???????cron??????????????????Щ??????????????crontab -u root -e
????????vi???????????????????????????????*/1 * * * * ls >> /tmp/ls.txt
??????????????????????????趨????????????????е???????????е???????????????Щ????д???????????棬??????????????????????????????????????д???????????·?????????趨??????????????????????*??????????????????????Χ????????£?
???????? (0-59)
????С?(0-23)
????????(1-31)
?????·?(1-12)
????????(0-6) //0??????????
??????????????м???????????????"*"??"/"??"-"??"??"??*???????е?????Χ????????"/"????????????"*/5"????5????λ??"-"?????????????????????"??"????????????????????????????????????
???????????6??
????-----------------
????0 6 * * * echo "Good morning." >> /tmp/test.txt //?????echo???????????????κ?????????cron???κ??????email??root?????????
?????????С?
????-----------------
????0 */2 * * * echo "Have a break now." >> /tmp/test.txt
????????11??????8??????????С?????????
????-----------------
????0 23-7/28 * * * echo "Have a good dream????" >> /tmp/test.txt
????????μ?4???????????????????????????11??
????-----------------
????0 11 4 * 1-3 command line
????1??1??????4??
????-----------------
????0 4 1 1 * command line
??????α???????????cron???ú?cron?????/var/spool/cron????????????????????????????????cron?????????????????У????????????????????????????crontab -e ??????cron????????????????????????????????????????????????????????????????cron????
????2.??/etc/crontab ???????cron
????cron??????????????????/var/spool/cron??????????????????????/etc/crontab??????????????????????????cron???????Щ???顣??crontab??????????????????????/etc/crontab?????????????????????????????
????SHELL=/bin/bash
????PATH=/sbin:/bin:/usr/sbin:/usr/bin
????MAILTO=root //?????????????????????????????????????????????
????HOME=/ //????????е?·?????????????
????# run-parts
????01 * * * * root run-parts /etc/cron.hourly //?С????/etc/cron.hourly?????
????02 4 * * * root run-parts /etc/cron.daily //??????/etc/cron.daily?????
????22 4 * * 0 root run-parts /etc/cron.weekly //????????/etc/cron.weekly?????
????42 4 1 * * root run-parts /etc/cron.monthly //???????/etc/cron.monthly?????
??????????"run-parts"???????????????????????????????????д????е???????????????????????????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Linux??????DDR????????????Linux?????????????????豸??????????linux???в???????????м??????????????????????????Linux????Linux??DNS????????????γ???????????Linux?????????????Linux????(???)????????Linux ????????????????????????????????Windows???У?Linux???????Linux????????????????Linux iommu??vfio???????Linux????ε???TCP???????Linux?????????????СLinux?·???????????Linux???Jexus?й?Asp.Net Core??ó???Linux?????????Щ??
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????