On Thu, 28 Mar 2019 11:23:26 -0400
Jerry Feldman <[email protected]> wrote:

> One idea I had was to write a small GUI that would cancel any
> currently scheduled shutdown and reschedule and notify the user when
> the shutdown is imminent. If the user logs off, the shutdown would
> still be in effect.

I don't think that's going to work the way you expect. One big problem
is that a process running from cron can't directly access your X server
so it can't send GUI notices.

I think you're going to need to create some kind of server (running in
your X sessions when you start them) and client (running from cron)
which tries to notify the server and handles the shutdown process.

-- 
Rich Pieri
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to