LINEで送る
Pocket

$ watch -n 1 -d "date '+%Y%m%d %H:%M:%S' >> log.txt && curl https://blog.adachin.me -o /dev/null -w '%{http_code}\n' -s >> log.txt"
  • log.txt
$ tail -f log.txt
20181016 07:57:52
200
20181016 07:57:53
200
20181016 07:57:54
200
20181016 07:57:55
200
20181016 07:58:14
200
20181016 07:58:15
200
20181016 07:58:16
200
20181016 07:58:17
200