<?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: Perl cron job ??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431242#M3121</link>
    <description>the &lt;A_NUMBER&gt; refers the process id of the shell.&lt;BR /&gt;&lt;BR /&gt;look in the /var/adm/cron/log  for that process number&lt;BR /&gt;there might be a return code associated with it&lt;BR /&gt;a " rc=&lt;SOMETHING&gt; "&lt;BR /&gt;This could help point you to the reason the shell exited.&lt;/SOMETHING&gt;&lt;/A_NUMBER&gt;</description>
    <pubDate>Wed, 19 Jul 2000 01:09:20 GMT</pubDate>
    <dc:creator>curt larson</dc:creator>
    <dc:date>2000-07-19T01:09:20Z</dc:date>
    <item>
      <title>Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431236#M3115</link>
      <description>One of my perl cron job occasionally refused to start and the only clue that I could see was via elm for the following error,&lt;BR /&gt;&lt;BR /&gt;"sh: 22329"&lt;BR /&gt;&lt;BR /&gt;Does anyone know what does the above indicate? &lt;BR /&gt;&lt;BR /&gt;Apparently the shell program aborted while trying to start my Perl program.&lt;BR /&gt;&lt;BR /&gt;Any hints for my problem are welcome.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Philip&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 01:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431236#M3115</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-07-18T01:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431237#M3116</link>
      <description>Did you check the /var/adm/syslog/syslog.log to see what error is there?&lt;BR /&gt;Do you have set up the path in users profile or /etc/profile to your program?&lt;BR /&gt;While executing from the command prompt, is it coming with the same error?&lt;BR /&gt;What shell to you use?&lt;BR /&gt;Come back with details.</description>
      <pubDate>Tue, 18 Jul 2000 03:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431237#M3116</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-07-18T03:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431238#M3117</link>
      <description>Try to trace it (set -o) and run it from command line....</description>
      <pubDate>Tue, 18 Jul 2000 03:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431238#M3117</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-07-18T03:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431239#M3118</link>
      <description>I actually cannot repeat the problem, because it only happened once every 2, 3 weeks out of ~300 runs.  Every time I saw that error I also checked the syslog and no relating messages at all.&lt;BR /&gt;&lt;BR /&gt;All paths seem to be correct.&lt;BR /&gt;&lt;BR /&gt;The Perl script is indeed encapsulated by the korn shell such as,&lt;BR /&gt;&lt;BR /&gt;10 10 * * * ksh "..."&lt;BR /&gt;&lt;BR /&gt;but the standard output always said "sh: &lt;A_NUMBER&gt;" instead, so I'm wondering if the problem occurred before it enters "ksh".&lt;BR /&gt;&lt;BR /&gt;I also thought that this problem has nothing to do with the Perl script itself, but rather related to the environment or available system resource at that time.  That is the reason why I'm interested to know what &lt;A_NUMBER&gt; referring to.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Philip&lt;/A_NUMBER&gt;&lt;/A_NUMBER&gt;</description>
      <pubDate>Tue, 18 Jul 2000 05:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431239#M3118</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-07-18T05:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431240#M3119</link>
      <description>Be sure to check the /var/adm/cron/log to see if there is any additional information that may be of assistance.</description>
      <pubDate>Tue, 18 Jul 2000 10:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431240#M3119</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-07-18T10:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431241#M3120</link>
      <description>Are well patched regarding shells?&lt;BR /&gt;I had some no-all-the-time error because of missing patches....(eg: in HP-UX 11.0 PHCO_13363).&lt;BR /&gt;I have no other better idea...&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 12:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431241#M3120</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-07-18T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431242#M3121</link>
      <description>the &lt;A_NUMBER&gt; refers the process id of the shell.&lt;BR /&gt;&lt;BR /&gt;look in the /var/adm/cron/log  for that process number&lt;BR /&gt;there might be a return code associated with it&lt;BR /&gt;a " rc=&lt;SOMETHING&gt; "&lt;BR /&gt;This could help point you to the reason the shell exited.&lt;/SOMETHING&gt;&lt;/A_NUMBER&gt;</description>
      <pubDate>Wed, 19 Jul 2000 01:09:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431242#M3121</guid>
      <dc:creator>curt larson</dc:creator>
      <dc:date>2000-07-19T01:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431243#M3122</link>
      <description>You could also add some debugging to the process. If cron kicks of a one line command that starts the ksh and perl, you could instead call a shell script that&lt;BR /&gt;does some logging prior to calling the perl script (date, time, pid, some text to indicate that the script is running), then do the same in the perl script and in the ksh script after the perl script terminates. You can scan through the log file and see if there are any indications of where the failure occured. If nothing is logged for a particular day, it could indicate that the shell script failed to initialize. If you were running out of file handles or the process table was full, I would have expected to see some indication in syslog.log unless you have the logging level turned down. If you have MeasureWare, you can check some of the kernel table values and see how busy the system was at the time the problem occured.</description>
      <pubDate>Wed, 19 Jul 2000 13:39:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431243#M3122</guid>
      <dc:creator>Jim Welch</dc:creator>
      <dc:date>2000-07-19T13:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431244#M3123</link>
      <description>Hi philip,&lt;BR /&gt;&lt;BR /&gt;Have u tried putting -x option after ksh , which will let you know the status of the execution of the each command.&lt;BR /&gt;&lt;BR /&gt;I suppose the number should be an error no. due to some failed system call.&lt;BR /&gt;&lt;BR /&gt;REgs,&lt;BR /&gt;S.J.Babu</description>
      <pubDate>Thu, 20 Jul 2000 01:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431244#M3123</guid>
      <dc:creator>S.Jagadeesh Babu</dc:creator>
      <dc:date>2000-07-20T01:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Perl cron job ???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431245#M3124</link>
      <description>Guys, thanks for all your helps so far.  Frankly speaking I'll be tied up by some other tasks in the next few weeks therefore may not have the time to explode further on this problem, but as soon as I free up then I'll trace on this again with all your suggestions.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Philip.</description>
      <pubDate>Fri, 21 Jul 2000 03:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-cron-job/m-p/2431245#M3124</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2000-07-21T03:14:48Z</dc:date>
    </item>
  </channel>
</rss>

