Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] cron notifications to GUI front end



>> On Thu, Mar 28, 2019 at 10:28:02AM -0400, Jerry Feldman wrote:
>> > I have a crontab task to shutdown my system at a specific time each
>> > evening. Shutdown notifications come to terminal windows that are open.

Before X Windows, you could have the task look at the modification time
of /dev/tty or some such, since every keystroke updated mod time of the
keyboard device.  X Windows circumvents that, but there still are screen
savers that turn on when the keyboard/mouse have been idle long enough.
So that information is being kept track of somewhere.  Perhaps you could
configure X to use a "screen saver" whose actual effect is to update
~/.in-use with "idle" or "in use".

Dale



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org