首页 > 其他 > 详细

ct任务添加与中控机批量后台操作

时间:2015-06-06 00:14:25      阅读:512      评论:0      收藏:0      [点我收藏+]

ct 任务
nohup sh ./bin/start.sh </dev/null >/dev/null 2>&1 &

 

中控机批量

for h in `get_hosts_by_path xxx`;do { ssh $h ‘cd /home/map/anticraw_tmp && nohup /home/map/php-fpm/bin/php compute.php /home/map/lighttpd/log result & ‘ </dev/null >/dev/null 2>&1; } & done;

ct任务添加与中控机批量后台操作

原文:http://www.cnblogs.com/zlingh/p/4555762.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!