Re: at based alarm.
On Thu 15 Feb 2018 at 08:19:25 (-0800), peter@easthope.ca wrote:
> * From: Greg Wooledge wooledg@eeg.ccf.org
> * Date: Tue, 13 Feb 2018 15:01:42 -0500
> > xterm -display :0 -e bash -c '. ~/.bashrc; wake'
>
> You've lost me. That command is for a wake function rather than
> script? ~/.bashrc is necessary to declare the function before it is
> invoked? What is the period preceding ~/.bashrc?
>
> When that is invoked interactively, the xterm window opens and
> immediately closes. No evidence of the wake function executing.
Write …bashrc ; wake ; sleep 5'
and give yourself 5 seconds to read what it says in the xterm.
Cheers,
David.
Reply to: