Linux定时任务

是一种周期性工作,方便工作人员维护软件,提高效率。定时任务默认频率为每分钟,每一行代表一个定时任务

Windows7系统的定时任务
1,点击“开始”---“所有程序”---“附件”---“系统工具”---选择“任务计划程序”

Linux系统定时任务存放位置

cat /etc/logrotate.d/syslog
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
    missingok
    sharedscripts
    postrotate
	/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
    endscript
}
原文地址:https://www.cnblogs.com/hejian2836/p/11383683.html