<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic at and batch jobs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602173#M855879</link>
    <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;    I have a typical problem in using at&lt;BR /&gt;and batch commands. I have a shell&lt;BR /&gt;scripts which takes various parameters&lt;BR /&gt;as input and I want to submit this&lt;BR /&gt;using at or batch. I though to use&lt;BR /&gt;cron, but it doesn't allow me to select&lt;BR /&gt;a queue. Thanx in adv.&lt;BR /&gt;&lt;BR /&gt;for e.g.&lt;BR /&gt;&lt;BR /&gt;$ at now + 1 minutes &lt;TEST.SH -a="" a="" -b="" b=""&gt;&lt;/TEST.SH&gt;&lt;BR /&gt;  The command failing to recognize the variables -a a, -b b etc.&lt;BR /&gt;&lt;BR /&gt;Kris&lt;BR /&gt;</description>
    <pubDate>Fri, 26 Oct 2001 13:01:06 GMT</pubDate>
    <dc:creator>Kris_5</dc:creator>
    <dc:date>2001-10-26T13:01:06Z</dc:date>
    <item>
      <title>at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602173#M855879</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;    I have a typical problem in using at&lt;BR /&gt;and batch commands. I have a shell&lt;BR /&gt;scripts which takes various parameters&lt;BR /&gt;as input and I want to submit this&lt;BR /&gt;using at or batch. I though to use&lt;BR /&gt;cron, but it doesn't allow me to select&lt;BR /&gt;a queue. Thanx in adv.&lt;BR /&gt;&lt;BR /&gt;for e.g.&lt;BR /&gt;&lt;BR /&gt;$ at now + 1 minutes &lt;TEST.SH -a="" a="" -b="" b=""&gt;&lt;/TEST.SH&gt;&lt;BR /&gt;  The command failing to recognize the variables -a a, -b b etc.&lt;BR /&gt;&lt;BR /&gt;Kris&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2001 13:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602173#M855879</guid>
      <dc:creator>Kris_5</dc:creator>
      <dc:date>2001-10-26T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602174#M855880</link>
      <description>Try doing the following:&lt;BR /&gt;&lt;BR /&gt;$ at now + 1 minutes &lt;CR&gt;&lt;BR /&gt;test.sh -a a -b b &lt;CR&gt;&lt;BR /&gt;&lt;CNTRL-D&gt;&lt;BR /&gt;&lt;BR /&gt;where &lt;CR&gt; is a carriage return and &lt;CNTRL-D&gt; is a control-d, i.e. end of file.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/CNTRL-D&gt;&lt;/CR&gt;&lt;/CNTRL-D&gt;&lt;/CR&gt;&lt;/CR&gt;</description>
      <pubDate>Fri, 26 Oct 2001 13:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602174#M855880</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-26T13:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602175#M855881</link>
      <description>Hi Kris,&lt;BR /&gt;&lt;BR /&gt;You should run it like this:&lt;BR /&gt;&lt;BR /&gt;echo test.sh -a a -b b | at now + 1 minutes&lt;BR /&gt;&lt;BR /&gt;If you are still seeing problems, are any errors appearing in the user's mailbox?&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 26 Oct 2001 13:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602175#M855881</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-10-26T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602176#M855882</link>
      <description>Krishna,&lt;BR /&gt;&lt;BR /&gt;  How about using the&lt;BR /&gt; -f option to specify&lt;BR /&gt;the script file in the at&lt;BR /&gt;command.&lt;BR /&gt; at -f test.sh  .....&lt;BR /&gt;&lt;BR /&gt;or how about specifying&lt;BR /&gt;the options to the script&lt;BR /&gt;as the options to the&lt;BR /&gt;at command&lt;BR /&gt;  at -q a ....  &lt;TEST.SH&gt;&lt;/TEST.SH&gt;&lt;BR /&gt;Or&lt;BR /&gt;&lt;BR /&gt;  do  echo ""test.sh -options""  | at command &lt;BR /&gt;&lt;BR /&gt;HTh&lt;BR /&gt;raj</description>
      <pubDate>Fri, 26 Oct 2001 13:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602176#M855882</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-26T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602177#M855883</link>
      <description>Hi Kris:&lt;BR /&gt;&lt;BR /&gt;I think you will have better success with something like this:&lt;BR /&gt;&lt;BR /&gt;at -f test1.sh now + 1 minutes&lt;BR /&gt;&lt;BR /&gt;test1.sh then invokes test.sh -a a -b b&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Oct 2001 13:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602177#M855883</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-26T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602178#M855884</link>
      <description>Folks,&lt;BR /&gt;&lt;BR /&gt;  The following command looks promising.&lt;BR /&gt;&lt;BR /&gt;echo "test.sh -a a -b b"|at now + 1 minutes&lt;BR /&gt;&lt;BR /&gt;In the result&lt;BR /&gt;&lt;BR /&gt;$ at -d 1004109278.a&lt;BR /&gt;&lt;BR /&gt;....&lt;BR /&gt;...&lt;BR /&gt;cd /opt/ORACLE/oclin/40/dev/aot/admiral&lt;BR /&gt;ulimit 4194303&lt;BR /&gt;umask 2&lt;BR /&gt;test.sh -a a -b b&lt;BR /&gt;&lt;BR /&gt;   Looks like it is submitting the job with parameters. Thanks again&lt;BR /&gt;&lt;BR /&gt;Kris</description>
      <pubDate>Fri, 26 Oct 2001 14:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602178#M855884</guid>
      <dc:creator>Kris_5</dc:creator>
      <dc:date>2001-10-26T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: at and batch jobs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602179#M855885</link>
      <description>Hi Kris,&lt;BR /&gt;&lt;BR /&gt;You may want to prefix the script filename with ./ in order for it to work 100%.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin</description>
      <pubDate>Fri, 26 Oct 2001 14:24:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/at-and-batch-jobs/m-p/2602179#M855885</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-10-26T14:24:54Z</dc:date>
    </item>
  </channel>
</rss>

