57

linux任务计划cron、chkconfig工具、systemd管理服务、unit介绍和targe-13372947-51CT...

 6 years ago
source link: http://blog.51cto.com/13382947/2066757
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、linux任务计划cron关于cron任务计划功能的操作都是通过crontab这个命令来完成的。其中常用的选项有:-u:指定某个用户,不加-u选项则为当前用户;/etc/crontab任务计划的配置文件前面两行是定义变量,第三行是指发送邮件给谁,然后最后一行有五个点分别对应着五个位,也就是上面的五行,分别表示:1.表示分钟(0-59)2.表示小时(0-23)3.表示日期(1-31)4.表示月份

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK