<?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 Re: Enema for at jobs? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748738#M69632</link>
    <description>How about 'at -d 1024552800.a'? what does that show?&lt;BR /&gt;&lt;BR /&gt;Personally, I would trash them and start again if at all possible.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
    <pubDate>Thu, 20 Jun 2002 13:04:38 GMT</pubDate>
    <dc:creator>Ian Dennison_1</dc:creator>
    <dc:date>2002-06-20T13:04:38Z</dc:date>
    <item>
      <title>Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748735#M69629</link>
      <description>My at jobs seem to be stuck:&lt;BR /&gt;&lt;BR /&gt;yukon(271)root# at -l&lt;BR /&gt;user = ops      1024552800.a    Thu Jun 20 02:00:00 2002&lt;BR /&gt;user = ops      1024545660.a    Thu Jun 20 00:01:00 2002&lt;BR /&gt;yukon(272)root# date&lt;BR /&gt;Thu Jun 20 09:37:40 EDT 2002&lt;BR /&gt;&lt;BR /&gt;Why would they not have executed and how can I get them unstuck?  Any clues?&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 12:34:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748735#M69629</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T12:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748736#M69630</link>
      <description>The 'jobs' command should show the actual status of these according to 'at'&lt;BR /&gt;&lt;BR /&gt;ie. Are they waiting in 'at' to be started, or are they running and waiting for another event? A keypress or something?&lt;BR /&gt;&lt;BR /&gt;to move a job to foreground, and resume it, use the 'fg' command, with the job number as an option,..&lt;BR /&gt;&lt;BR /&gt;eg fg %2  # will resume job 2&lt;BR /&gt;&lt;BR /&gt;share and enjoy! Ian</description>
      <pubDate>Thu, 20 Jun 2002 12:39:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748736#M69630</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-06-20T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748737#M69631</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;Thanks, but jobs doesn't show anything:&lt;BR /&gt;&lt;BR /&gt;yukon(273)root# jobs&lt;BR /&gt;yukon(274)root#&lt;BR /&gt;&lt;BR /&gt;And I'm not sure how fg even relates.&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 12:44:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748737#M69631</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T12:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748738#M69632</link>
      <description>How about 'at -d 1024552800.a'? what does that show?&lt;BR /&gt;&lt;BR /&gt;Personally, I would trash them and start again if at all possible.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 20 Jun 2002 13:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748738#M69632</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2002-06-20T13:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748739#M69633</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;At -d shows the contents of the job (as expected).  These jobs normally run every night by re-at'ing themselves - except last night.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 13:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748739#M69633</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748740#M69634</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;is cron running? &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 20 Jun 2002 13:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748740#M69634</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-06-20T13:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748741#M69635</link>
      <description>What does /var/adm/cron/log say?&lt;BR /&gt;&lt;BR /&gt;It should say something like:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  CMD: 1024582129.a&lt;BR /&gt;&amp;gt;  franks 3167 a Thu Jun 20 16:08:49 METDST 2002&lt;BR /&gt;...&lt;BR /&gt;&amp;lt;  franks 3167 a Thu Jun 20 16:10:52 METDST 2002&lt;BR /&gt;&lt;BR /&gt;The first two lines are the job-id, PID (3167) and the start date/time. The third line is the end date/time.&lt;BR /&gt;&lt;BR /&gt;If the first two lines are present, but not the last one, then the job was started, but still busy (and hence still in the "at -l" output), and something should be visible in the ps(1) output.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2002 13:15:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748741#M69635</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-06-20T13:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748742#M69636</link>
      <description>Harry,&lt;BR /&gt;&lt;BR /&gt;Good question but yes, cron is running:&lt;BR /&gt;yukon(275)root# psg cron&lt;BR /&gt;    root  3162     1  0  Jun 16  ?         4:26 /usr/sbin/cron&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 13:16:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748742#M69636</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T13:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748743#M69637</link>
      <description>Frank,&lt;BR /&gt;&lt;BR /&gt;Excellent (I'm always amazed at how I can ignore the obvious - like checking the log).  The log has this entry repeatedly:&lt;BR /&gt;! a queue max run limit reached Thu Jun 20 00:01:00 EDT 2002&lt;BR /&gt;! rescheduling at job Thu Jun 20 00:01:00 EDT 2002&lt;BR /&gt;&lt;BR /&gt;What is a max run limit and how do I increase it?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 13:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748743#M69637</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T13:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748744#M69638</link>
      <description>/var/adm/cron/queuedefs contains the following:&lt;BR /&gt;a.4j1n&lt;BR /&gt;b.2j2n90w&lt;BR /&gt;which seems to indicate that 4 jobs can execute simultaneously.  I don't see how that could be the problem?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 13:30:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748744#M69638</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T13:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748745#M69639</link>
      <description>Looking further at the log, I can see where the jobs were started but never finished (for some unknown reason):&lt;BR /&gt;&amp;gt;  ops 27094 a Mon Jun 17 02:00:00 EDT 2002&lt;BR /&gt;&amp;lt;  ops 27094 a Mon Jun 17 02:00:04 EDT 2002&lt;BR /&gt;&amp;gt;  ops 26677 a Tue Jun 18 00:01:00 EDT 2002&lt;BR /&gt;&amp;lt;  ops 26677 a Tue Jun 18 00:42:31 EDT 2002&lt;BR /&gt;&amp;gt;  ops 13671 a Tue Jun 18  02:00:02 EDT 2002 - start&lt;BR /&gt;&amp;gt;  ops 5172 a Wed Jun 19 00:01:00 EDT 2002&lt;BR /&gt;&amp;lt;  ops 5172 a Wed Jun 19 00:41:31 EDT 2002 &lt;BR /&gt;&amp;gt;  ops 21535 a Wed Jun 19 02:00:02 EDT 2002 - start&lt;BR /&gt;&amp;gt;  ops 1438 a Thu Jun 20 10:33:07 EDT 2002 - start&lt;BR /&gt;&lt;BR /&gt;I've purged the unfinished ones and see what happens.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 20 Jun 2002 13:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748745#M69639</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-20T13:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748746#M69640</link>
      <description>Re: your June 20, 2002 14:42 PM GMT response:&lt;BR /&gt;&lt;BR /&gt;Next time, before "purging the unfinished ones", check the *status* of the jobs. I.e., like I mentioned, the number in the log entries is the PID (process ID) of the shell that runs the job. With ps(1) you should be able to see that process and any children of that process an probably get clues as to why it/they are not finished.&lt;BR /&gt;&lt;BR /&gt;[Sorry for my 'late' response. For some reason e-mail notification of new responses was not working.]</description>
      <pubDate>Fri, 21 Jun 2002 08:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748746#M69640</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-06-21T08:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748747#M69641</link>
      <description>Frank,&lt;BR /&gt;&lt;BR /&gt;Thanks again, that's what I'm doing this morning - it got stuck again last night.  I don't see anything in the log this morning though.  I wonder if my manual trimming of the log messed up cron?  If nothing else, we've got some scheduled downtime coming up this noon and I expect the re-boot will straighten things out.  I'll probably have to wait til Monday to find out for sure, though.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 21 Jun 2002 09:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748747#M69641</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-21T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748748#M69642</link>
      <description>OK, here's the situation:&lt;BR /&gt;&lt;BR /&gt;yukon(166)root# echo "/usr/bin/bdf -l" | at now +1 minute&lt;BR /&gt;warning: commands will be executed using /usr/bin/sh&lt;BR /&gt;job 1024934883.a at Mon Jun 24 12:08:03 2002&lt;BR /&gt;yukon(167)root# at -l&lt;BR /&gt;user = ops      1024984800.a    Tue Jun 25 02:00:00 2002&lt;BR /&gt;user = root     1024934883.a    Mon Jun 24 12:08:03 2002&lt;BR /&gt;&lt;BR /&gt;In one minute I see the job kick off:&lt;BR /&gt;yukon(169)root# tail /var/adm/cron/log&lt;BR /&gt;&amp;gt;  CMD: 1024934883.a&lt;BR /&gt;&amp;gt;  root 26293 a Mon Jun 24 12:08:03 EDT 2002&lt;BR /&gt;&lt;BR /&gt;However, I don't see the end of the job.  I do a ps on the PID and all I see is the shell hanging around, doing nothing?&lt;BR /&gt;&lt;BR /&gt;We used to use this technique daily and now it's suddenly stopped working.&lt;BR /&gt;&lt;BR /&gt;Hmmm, I wonder if a patch affected it?</description>
      <pubDate>Mon, 24 Jun 2002 15:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748748#M69642</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-24T15:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748749#M69643</link>
      <description>Sorry, I meant to put the ps output in:&lt;BR /&gt;&lt;BR /&gt;yukon(170)root# psg 26293&lt;BR /&gt;    root 26293  1647  0 12:08:03 ?         0:00 sh&lt;BR /&gt;    root 26294 26293  0 12:08:03 ?         0:00 /usr/bin/sh</description>
      <pubDate>Mon, 24 Jun 2002 15:17:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748749#M69643</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-24T15:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748750#M69644</link>
      <description>Got it !!!&lt;BR /&gt;PHCO_24702 introduced behavior whereby cron(1M) may no longer&lt;BR /&gt;                                        execute at(1) jobs.  When one of the environment variables&lt;BR /&gt;                                        LC_ALL, LC_CTYPE or LANG is set when an at(1) job is&lt;BR /&gt;                                        scheduled, at(1) jobs may not complete and may leave the&lt;BR /&gt;                                        executing shell in a hung state.&lt;BR /&gt;                                      - To work around this behavior, these three environment&lt;BR /&gt;                                        variables may be unset prior to scheduling an at(1) job.&lt;BR /&gt;                                      - If this work around is not acceptable, to avoid this behavior&lt;BR /&gt;                                        HP recommends that PHCO_24702 be removed from all those&lt;BR /&gt;                                        systems where the LC_ALL, LC_CTYPE or LANG environment&lt;BR /&gt;                                        variables are set when at(1) jobs are issued.  PHCO_24702&lt;BR /&gt;                                        should also be removed from software depots used to installed&lt;BR /&gt;                                        patches on these systems.&lt;BR /&gt;                                      - The previous patch, PHCO_22767, does not exhibit this same&lt;BR /&gt;                                        behavior.  To ensure as many known issues as possible are&lt;BR /&gt;                                        addressed, HP recommends that PHCO_22767 be installed after&lt;BR /&gt;                                        PHCO_24702 is removed.  If PHCO_22767 was installed prior to&lt;BR /&gt;                                        PHCO_24702, it will automatically be restored when PHCO_24702&lt;BR /&gt;                                        is removed and it will not need to be re-installed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'll try removing the patch as suggested.  If that doesn't work, I'll keep on posting my musings here.  If you don't see anything further from me, you can assume it worked.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 24 Jun 2002 15:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748750#M69644</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-24T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Enema for at jobs?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748751#M69645</link>
      <description>By the way, this was fixed by  PHCO_27141.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 07 Nov 2002 20:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/enema-for-at-jobs/m-p/2748751#M69645</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-11-07T20:11:26Z</dc:date>
    </item>
  </channel>
</rss>

