start.sh 193 B

12345678910
  1. #!/bin/bash
  2. cd ./source/bin/
  3. while true
  4. do
  5. LD_PRELOAD=../../lib/libmyplugins.so ./main
  6. sleep 1
  7. date="`date '+%Y-%m-%d %H:%M:%S'`"
  8. echo "$date MIVA重启任务" >> MIVA.log
  9. done