2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

この記事の目的

プログラムを書いている最中に、集中しずきて時間を忘れる時がありますよね。
周期的に現実世界に戻るためのプログラムになります。

実装

worktimer.sh
#!/bin/sh
while true
do
    echo "Sounds" && (afplay /System/Library/Sounds/Ping.aiff)
    sleep 900
done

実行例

HOMEに設置してパーミッションを変更

./worktimer.sh

終わりに

MTGやタスク確認、連絡確認が遅れるのは集中型プログラマーのデメリットなので対策しましょう。
是非調べて作ってみてください。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?