Simple Alarm Clock

It’s 12:30 noon and i was writing the manpro record with great difficult, this time it was lengthy so i am too susceptible that i can’t complete the work. So i thought it is better to restrict me with the work for a certain time limit.


this provoked me to write a simple alarm bash script for my work

while [ $(date +%M:%S) != $1 ]
      printf "please continue working on manpro record";
      echo '';
      sleep 1;
echo 'okay you can go now'
rhythmbox-client --play;

I am going to develop a full featured bash alarm application in my summer holidays.

for now i have exams to write upto March 4.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s