<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>系统运维 &#187; Linux计划任务</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/linux%E8%AE%A1%E5%88%92%E4%BB%BB%E5%8A%A1/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux计划任务Crontab实例详解教程</title>
		<link>https://www.osyunwei.com/archives/5039.html</link>
		<comments>https://www.osyunwei.com/archives/5039.html#comments</comments>
		<pubDate>Thu, 09 Aug 2012 08:56:48 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Crontab]]></category>
		<category><![CDATA[Linux计划任务]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5039</guid>
		<description><![CDATA[说明：Crontab是Linux系统中在固定时间执行某一个程序的工具，类似于Windows系统中的任务计划程序           下面通过详细实例来说明在Linux系统中如何使用Crontab 操作系统：CentOS 一、安装crontab yum install vixie-cron  #安装 chkconfig crond on  #设为开机启动，先要安装chkconfig（yum install chkconfig） service crond start  #启动 service crond stop  #停止 /etc/rc.d/init.d/crond restart  #重启 /etc/rc.d/init.d/crond reload  #不中断服务，重新载入配置 二、设置任务计划 /home/www.osyunwei.com/osyunwei.sh    #要自动执行的脚本程序路径 chmod +x /home/www.osyunwei.com/osyunwei.sh   #对脚本文件添加执行权限，否则不能执行 vi /etc/crontab  #编辑配置文件，在最后一行添加内容 30 1 * * * root /home/www.osyunwei.com/osyunwei.sh #表示每天凌晨1点30执行备份 :wq! #保存退出 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 /etc/rc.d/init.d/crond restart  #重启 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5039.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5039.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
