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;
时间: 2024-12-08 18:54:58