#!/bin/bash echo "hello"
crontab -e #对定时任务进行编辑*/1 * * * * bash /usr/local/sh/test.sh >> /usr/local/sh/log/reloadnginx.log #每分钟重启一次
/etc/init.d/cron restart