The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Korn: How to zero fill df output so it will sort properly shew01 Shell Programming and Scripting 9 06-04-2008 11:34 AM
not getting the output properly pmrajesh21 SUN Solaris 0 04-16-2008 11:43 AM
Output in my shell isn't showing properly. satyakide Shell Programming and Scripting 7 04-01-2008 11:05 AM
lvm_queryvg call does not work properly and results in a sudden memory rise. sandiworld AIX 0 11-15-2007 01:57 AM
SSH doesnt exit properly from command line frustrated1 SUN Solaris 4 06-16-2005 05:30 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-01-2005
SpanishPassion SpanishPassion is offline
Registered User
  
 

Join Date: Nov 2005
Location: Melbourne
Posts: 4
How to output the results of the AT command - properly!

Hi,

I am new to UNIX and I am more used to simple commands like those in VMS.

One of them is the ability to get the output from a job using the /out=<file> command in VMS.

I want to submit a job (a set of unix commands) using the AT command but to get the output in a file like that used in VMS.

Now I know many of you are saying, "just redirect it using the '>' character'. I tried this and it's not producing what I expected. I don't think it's as simple as that.

For example (the qdesign command is a powerhouse (COGNOS) command, and not a unix command).

Here is my BAT file ...

#!/bin/csh

/bin/date

################################################################
# Recompile global QUICK screens, for Sydney
qdesign dict=/mis/sydmips/obj/phd.pdc << 'flag1'
use /mis/sydmips/obj/compilemips.qks nolist
exit
'flag1'


I've tried submitting this with ...

$ at -c -f compile.bat now > compile.out

I get only the line that says it submitted the command

$ echo compile.out | at -c -m now

I get an email to say that it was "run", but no standard output of the BAT file!

$ at -c -m now < compile.bat

Again I get a job number, an email to say it ran but no actual output.

How do I get actual output from the compile.bat routine, like as if I was running it online!?

Thank you
 

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0