In Linux, specifically Ubuntu, is there a way to set a simple command to alert me at a specific time? preferably w/ a pop-up so I won't miss it.

Perhaps pair some command w/ "at" ?

link|improve this question

71% accept rate
feedback

migrated from serverfault.com Oct 17 '11 at 11:41

This question came from our site for system administrators and desktop support professionals.

2 Answers

up vote 2 down vote accepted

You have to edit a file called cron that let you run things at specific times. For information about how to use it run man cronon a terminal and read the examples at wikipedia.

Edit cron to run a bash at the times when you need.

The bash file should looks like this

zenity --info --text 'You alert message'

The message will look like this:

enter image description here

link|improve this answer
I guess this dialog is not modal, understanding modality as same as wikipedia does: en.wikipedia.org/wiki/Modal_window – math Apr 13 at 8:01
feedback

I would favour libnotify in combination with indicator-notification applet so you won't miss any notifications. To install both:

sudo add-apt-repository ppa:jconti/recent-notifications
sudo apt-get update
sudo apt-get install libnotify-bin indicator-notifications

And finally login and logout. Now you should be able to use notify-send to send notifications. This works easy as long as you send yourself notifications. For sending notifications to other users this is a bit challenging, but especially for root to you there is no problem by using a proper DBUS_SESSION_BUS_ADDRESS.

Please not this notifications arent modal.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.