#!/bin/bash # 开启fd监控 # cd ./tooks/ # nohup watch -n 1 ./cheack_fd.sh & # cd ../ rm ${HOME}/.cache/gstreamer-1.0/registry.* cd ./source/bin/ #while true # do LD_PRELOAD=../../lib/libmyplugins.so ./main # sleep 1 # date="`date '+%Y-%m-%d %H:%M:%S'`" # echo "$date MIVA重启任务" >> MIVA.log #done