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
#crontab里支持输入文件,前提是不要没有生成目录地址的写权限
* */1 * * * /usr/local/etc/rc.d/lighttpd restart > test.out