lot_manager/bash/start_data_upload.sh

7 lines
133 B
Bash

#!/bin/bash
# 这里千万不要使用set -e
sleep 5
supervisorctl stop sensor_to_local
sleep 5
supervisorctl start sensor_to_server