http://xshell.net/linux/crontab.html
实战:
* */1 * * * /usr/local/etc/rc.d/lighttpd restart
每一小时重启apache
#crontab里支持输入文件,前提是不要没有生成目录地址的写权限
* */1 * * * /usr/local/etc/rc.d/lighttpd restart > test.out
Linux 定时任务命令Crontab参数详解
原文:http://www.cnblogs.com/svennee/p/4075605.html