Linux configuration timing tasks

liunx needs to refresh the system time regularly and delete some files

Configuration command

crontab -e

Refresh script

0 23 * * * rm -rf /root/.fscrawler/qes/_status.json
*/10 * * * * ntpdate time.nist.gov

Guess you like

Origin blog.csdn.net/leinminna/article/details/110860634