FreeBSD连载(25):定时执行程序

定时执行程序

Unix系统提供了cron和at命令,使系统和用户可以定时运行一定的程序,而不需手工启动。 使用cron用于周期性的执行一个命令,为了使用它,必须编辑crontab文件。系统缺省的/etc/crontab 文件为:

# /etc/crontab - root\'s crontab for Free
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus