##crontab每分钟定时执行:
*/1 * * * * service mysqld restart //每隔1分钟执行一次
*/10 * * * * service mysqld restart //每隔10分钟执行一次
##crontab每小时定时执行:
0 */1 * * * service mysqld restart //每1小时执行一次
0 */2 * * * service mysqld restart //每2小时执行一次
##crontab每天定时执行:
0 10 * * * service mysqld restart //每天10点执行
30 19 * * * service mysqld restart //每天19点30分执行
##crontab每周定时执行:
0 10 * * 1 service mysqld restart //每周一10点执行
30 17 * * 5 service mysqld restart //每周五17点30分执行
##crontab每年定时执行:
0 10 1 10 * service mysqld restart //每年的10月1日10点执行
0 20 8 8 * service mysqld restart //每年的8月8日20点执行
每五分钟执行 */5 * * * * /bin/php /www/web/test.php
每小时执行 0 * * * * /bin/php /www/web/test.php
每天执行 0 0 * * * /bin/php /www/web/test.php
每周执行 0 0 * * 0 /bin/php /www/web/test.php
每月执行 0 0 1 * * /bin/php /www/web/test.php
每年执行 0 0 1 1 * /bin/php /www/web/test.php