Results 1 to 1 of 1

Thread: Notify users of impending shutdown events.

  1. #1
    Join Date
    Jul 2011

    Smile Notify users of impending shutdown events.

    I have used Ubuntu 11.04 and am now using 10.04, both with Gnome as the desktop environment.
    This problem may also occur in Ubuntu 11.04 with Unity as the desktop environment.

    I would prefer when I issue a notify-send command from /etc/crontab or any user's crontab that the notification appear on my desktop. This does not happen.
    Neither does an echo command issued from these two crontab sources display to the terminal.

    As a workaround, I have used crontab to write a message to a file. I have then used Specto to detect when that file has changed in order to notify the desktop.

    An example of the command I issue from Specto is:
    notify-send Shutdown "`tail -n5 /home/var/shutdown.spc`"
    Last edited by Benton Macdonald; August 2nd, 2011 at 11:45 PM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts