Re: Using "at" command
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Mar 2008 04:04:19 +0000 (UTC)
On Thu, 27 Mar 2008 16:55:20 -0700 (PDT), R C V wrote:
It works when I pipe the command to 'at'
a) $ ls -l | at now + 2 minutes accepts the job, but gives a very
strange output in /var/spool/mail/root....
Am I missing something while using 'at' with those commands which have
some parameters/switches.
They all executed immediately. Any output they created were given to at.
I would recommend putting any complex commands in a file
and submit the file via at.
Also how do I get the output on the screen
Redirect results in a file and use xmessage I guess. Example:
echo "ls > ls.result
xmessage -display :0 -f ls.result
" > at.job
at -f at.job now+2minutes
instead of .../mail/root..
Redirect results in a file. Example:
echo "ls > ls.result" > at.job
at -f at.job now+2minutes
.
- References:
- Using "at" command
- From: R C V
- Re: Using "at" command
- From: R C V
- Using "at" command
- Prev by Date: Re: IPV6 Networking, best practices?
- Next by Date: Re: Need help in 'at' command
- Previous by thread: Re: Using "at" command
- Next by thread: Wireless tools
- Index(es):
Relevant Pages
|