linux下用cron定时执行任务的方法

2019-10-15 22:26:47于丽

我们来看一个超级用户的crontab文件:
   #Run the ‘atrun' program every minutes   #This runs anything that's due to run from ‘at'.See man ‘at' or ‘atrun'.   0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/lib/atrun   40 7 * * * updatedb   8,10,22,30,39,46,54,58 * * * * /bin/sync