while [ "`date +%Y`" == "1970" ]; do ntpclient uk.pool.ntp.org && \ sleep 3 && \ stopservice process_monitor && \ sleep 3 && \ startservice process_monitor; echo "done" >> "/tmp/ntp.example.txt" && \ sleep 120; done; echo "end" >> "/tmp/ntp.example.txt"
Reference:
No comments:
Post a Comment