start.sh 171 B

1234567891011
  1. #!/bin/sh
  2. echo "start MerdiaServer"
  3. while true
  4. do
  5. ./MediaServer
  6. date="`date '+%Y-%m-%d %H:%M:%S'`"
  7. echo "MediaServer_error $date" >>./network_error.log
  8. sleep 2
  9. done