Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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" ?

share|improve this question

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

This question came from our site for system and network administrators.

2 Answers 2

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

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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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