用和/etc/crontab中一样的语法.
两个实例
#Record the task list of the system every Monday
#at 9:30AM in the file /root/task.tmp
30 9 * * 1 ps -aux > /root/task.list
#run custom script the first day of every month at 4:10AM
10 4 1 * * /root/scripts/backup.sh
5、根用户以外的用户可以使用crontab工具来配置cron任务。所有用户定义的crontab都被保存在/var/spool/cron目录中,并使用创建他们的