[Novices] very simple at commands
Bruce Smith
bruce at armintl.com
Mon Feb 28 09:29:09 EST 2005
> It won't, you'll have to use the -display switch. Then it DOES work, at least
> for me
Right, I was thinking about how the environment ($DISPLAY) doesn't get
passed to at/cron jobs. Even $PATH is not passed.
What I wasn't sure about is if X authentication would be a problem.
But I guess as long as as the same user is logged on as started the
at-job, ~/.Xauthority should be readable and it should work.
> As to Adam's question, I don't know if would work between Xsessions/logins,
> but it worked even after I'd closed the terminal I entered the command in.
As long as the same user-id is logged in, it should work (in theory).
It wouldn't be difficult to test if anyone cares. (which I don't :)
- BS
> > > > > Also, I had forgotten (or never knew) that standard output of at gets
> > > > > mailed. I don't often use it for echo, as in my example, but is
> > > > > there any way to send it to the invoking terminal instead?
> > > >
> > > > Try just using xmessage if you have it installed.
> > > > Example:
> > > > $ xmessage Go to your meeting!
> > >
> > > Will this even work if you logout between scheduling and the event? It
> > > would seem X permission/access will get in the way.
> >
> > I doubt it would work with at/cron even if you DIDN'T logout.
More information about the Novices
mailing list