码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-06-06 00:15:13      阅读:149      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!