<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[阿Tim日志]]></title> 
<link>https://atim.cn/index.php</link> 
<description><![CDATA[专业的php开发者.开发团队的带队人]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[阿Tim日志]]></copyright>
<item>
<link>https://atim.cn/post//</link>
<title><![CDATA[定时开关机]]></title> 
<author>bkkkd &lt;partybase@gmail.com&gt;</author>
<category><![CDATA[开发应用]]></category>
<pubDate>Sat, 19 Jan 2013 14:04:49 +0000</pubDate> 
<guid>https://atim.cn/post//</guid> 
<description>
<![CDATA[ 
	公司里的测试机需要经常性保持运行的状态，因为在很多时候，我们都需要使用它做一些定时的执行的工作,如：每天的数据备份，网站运程更新等工作。<br/><br/>但系实际上他也有很长的时间处于待机状态，而且这些时间段也不是必启动的。如：零晨，做完备份后，有很长的时个时间是完没有作用的。<br/><br/>所以我需要能指定在某个时间段内将测试机定时关闭，定时启动。<br/><br/>定时关机：<br/>我使用的是ubuntu系统，只需要有 /etc/crontab 中增加相关的命令<br/><div class="code"><br/>59 23 * * * root sudo /sbin/shutdown -h -time now<br/></div><br/><br/>定时开机：<br/>现在大部分的主板都会支持这个功能，<br/>1）进入BIOS后<br/>2）Power Management Setup<br/>3）启用 Resume By Alarm<br/>4）Date Alarm：选择启动的日期，其中0为每天都启动<br/>5）Time Alarm：选择启动的时间，有一个问题，默认是使用utc时间（可能是ubuntu有关）所在需要先确认这电脑的系统时间。<br/><br/>
]]>
</description>
</item><item>
<link>https://atim.cn/post//#blogcomment</link>
<title><![CDATA[[评论] 定时开关机]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://atim.cn/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>