Linux, Shell脚本为用户添加Crontab计划任务
else
touch $crontabfile
echo "*/10 * * * * /home/mysql/PEnterAccount/DaemonPEnterAccount.sh" >>$crontabfile
fi
service crond restart
发布时间: 2012-07-26 12:01:08 作者: rapoo
Linux, Shell脚本为用户添加Crontab计划任务
else
touch $crontabfile
echo "*/10 * * * * /home/mysql/PEnterAccount/DaemonPEnterAccount.sh" >>$crontabfile
fi
service crond restart