Submit to Batch on Unix/Solaris/Powerhouse

Jones Allen Allen.Jones@vpgroup.com
Thu, 1 May 2003 15:13:06 -0700


I suggest that you use "nohup <script_name> &". The "&" at the end sets up a
separate process to run the script and the "nohup" command tells UNIX to
keep the process running even if the parent process disconnects. Also, the
user's environment is copied to the process if the environment variables are
exported.

-----Original Message-----
From: Jeff Hoffman [mailto:wonicon@optushome.com.au]
Sent: May 1, 2003 2:50 PM
To: powerh-l@lists.swau.edu
Subject: Re: Submit to Batch on Unix/Solaris/Powerhouse


Hi

Just 1 possibility, remember, 'at' logs on as the user that submitted the
job, any environment variables set up before submitting the at command are
LOST. U will have to make sure that the environment has been set up as you
expected, try piping the environment variables to the printer.


At 11:55 AM 01-05-03 -0400, Sagar wrote:
>Hi All,
>
>I am running into a problem when I run "at" command from QUICK.
>
>Here is my shell script:
>quiz << EXIT
>EXEC $MLT/SYCUSLS4 NOGO
>SET REPORT NAME $RPD/SYCUSSEC_00000016.RPT
>SET REPORT DEVICE DISC
>SET PAGE WIDTH 132 IMAGE 1
>SET PAGE LENGTH 66
>SET REPORT SPACING 1
>GO
>         !
>
>~~~~~~~~~~
>
>C
>
>
>00000000
>00000000
>00
>L
>
>
>From Customer Code First to Last
>Company            All
>
>TradePoint Systems LLC - ORACLE
>Customer List by Cust Code (Long)
>
>EXIT
>
>rm goparaju_2003050111131250.sh
>
>I am submitting this to run as a batch job as following:
>at -sf goparaju_2003050111131250.sh now
>
>If I run the above "at" command from the command line it is working fine.
>But when I run this command from QUICK it is giving me the following
>message:
>Commands will be executed using ./bin/sh
>Job 1051797018.a at Thu May 1 09:50:18 2003
>
>Nothing happened!!
>
>Please help.
>
>Thanks
>Sagar
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l@lists.swau.edu
>Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
>Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.swau.edu
>http://lists.swau.edu/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
+ Jeff Hoffman                          + e-mail: wonicon@optushome.com.au
+
+ Director                              +
+
+ WoniCon Pty Ltd   (ABN 93 083 502 630)+                          ,-_|\
+
+ 21 Prices Circuit                     + voice: +61 2 9542 1527  /     \
+
+ Woronora    NSW     2232              +                         \_,-._*
+
+ AUSTRALIA                             + mobile: 040 790 3929         v
+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.