T.R | Title | User | Personal Name | Date | Lines |
---|
9809.1 | | ATZIS2::au7094.aui.dec.com::wimmer_e | | Wed May 14 1997 10:25 | 8 |
| What are you expecting?
"at" reads the commands to be scheduled from stdin.
"ps" gives f.e.
PID TTY S TIME CMD
551 console IW + 0:00.04 /usr.........
Regards Erich
|
9809.2 | Wrong command? | IOSG::MARSHALL | | Wed May 14 1997 11:42 | 7 |
| I suspect .0 meant to do (eg):
echo "ps" | at 1500 may 13
???
Scott
|
9809.3 | echo "ps" ? | ATZIS2::au7094.aui.dec.com::wimmer_e | | Thu May 15 1997 04:26 | 5 |
| Scott, I'm not a Unix or ksh expert, but I tried it on my
Digital Unix 4.0a system and it works perfectly. I think
- echo "ps" - doesn't work as expected in your script.
Try - echo "ps"|cat - instead and see what happens.
Erich
|
9809.4 | Depends on your expectations? | IOSG::MARSHALL | | Thu May 15 1997 08:39 | 13 |
| Erich,
I was assuming the base noter wanted to run the 'ps' command at 1500. So the
string "ps" needs to be sent to the stdin of the 'at' command, hence my
suggestion in .2, which works as I expect it to (see the examples in that 'at'
man page); what were you expecting my command to do?
What "works perfectly" on your system? The basenoter's command, which sends the
output of an interactive run of 'ps' to 'at'? If that does for some reason
work, I'm curious what the results are and in what way they are useful?
Ta,
Scott
|
9809.5 | sorry | ATZIS2::au7094.aui.dec.com::wimmer_e | | Thu May 15 1997 10:55 | 5 |
| Scott, i misunderstood your reply.
I thought you was the originator of the note and
told me echo "ps" doesn't work too.
echo "ps"|at .... in any case gives a ps-list at the
specified time on my system.
|