<?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: binary not executed from crontab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604840#M233528</link>
    <description>I had same problem some time ago and it was due our executable loads stdin/stdout libraries without use them.&lt;BR /&gt;&lt;BR /&gt;Check source code if you load stdin/stdout libraries. Set as comment and try.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
    <pubDate>Wed, 17 Aug 2005 11:32:41 GMT</pubDate>
    <dc:creator>Carles Viaplana</dc:creator>
    <dc:date>2005-08-17T11:32:41Z</dc:date>
    <item>
      <title>binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604829#M233517</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a binary which when tried to execute from the crontab does not get executed. But the same binary gets executed when done manually.&lt;BR /&gt;&lt;BR /&gt;Can anyone please let me know what could be the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pat</description>
      <pubDate>Tue, 16 Aug 2005 12:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604829#M233517</guid>
      <dc:creator>Pat Peter</dc:creator>
      <dc:date>2005-08-16T12:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604830#M233518</link>
      <description>Is the crontab entry for the binary fully PATHed?&lt;BR /&gt;&lt;BR /&gt;The crontab has a minimal environment. There is no PATH. You must supply the full PATH to the command you wish to have executed in the crontab.</description>
      <pubDate>Tue, 16 Aug 2005 12:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604830#M233518</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-16T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604831#M233519</link>
      <description>In almost every case that is a problem with the environment. Cron's environment is intentionally very sparse. You may need to create a wrapper script that sets and exports and needed environment variables, including PATH, before executing your binary. The other problem you may have is that your executable expects stdin (or stdout) to be a tty (terminal) device which is not the case under cron.</description>
      <pubDate>Tue, 16 Aug 2005 12:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604831#M233519</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-08-16T12:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604832#M233520</link>
      <description>what error messages are you getting when this job fails ?</description>
      <pubDate>Tue, 16 Aug 2005 12:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604832#M233520</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-08-16T12:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604833#M233521</link>
      <description>Hi,&lt;BR /&gt;You may not have the PATH set for it...&lt;BR /&gt;&lt;BR /&gt;Add the PATH variable to your binary in a shell script and call your binary from it also&lt;BR /&gt;then use the shell script in your crontab file&lt;BR /&gt;or use the fullpath to your binary in the cronfile&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 16 Aug 2005 12:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604833#M233521</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-08-16T12:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604834#M233522</link>
      <description>The PATH is set correct. The same crontab entry use to work sometimes back but the server crashed once and after that only one particular  executable is not getting executed properly. All the other executables are working fine.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pat</description>
      <pubDate>Tue, 16 Aug 2005 12:48:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604834#M233522</guid>
      <dc:creator>Pat Peter</dc:creator>
      <dc:date>2005-08-16T12:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604835#M233523</link>
      <description>I've seen that.  Loosen up the directory permissions all along the path until you see it working.  Fix the problem and tighten the permissions back down all along the way to your executable.</description>
      <pubDate>Tue, 16 Aug 2005 12:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604835#M233523</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-08-16T12:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604836#M233524</link>
      <description>You say the PATH is correct?&lt;BR /&gt;&lt;BR /&gt;Try this in cron:&lt;BR /&gt;&lt;BR /&gt;echo $PATH; /your/binary &amp;gt;/tmp/yourbinary.cronlog 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Check the log for errors...&lt;BR /&gt;&lt;BR /&gt;Rgds..Geoff</description>
      <pubDate>Tue, 16 Aug 2005 13:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604836#M233524</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-16T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604837#M233525</link>
      <description>Can anyone please tell me where do I look for the cronlogs in HP UX-10.20&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pat</description>
      <pubDate>Tue, 16 Aug 2005 14:03:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604837#M233525</guid>
      <dc:creator>Pat Peter</dc:creator>
      <dc:date>2005-08-16T14:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604838#M233526</link>
      <description>/var/adm/cron/log&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Aug 2005 14:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604838#M233526</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-08-16T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604839#M233527</link>
      <description>Sorry - the log I meant was if you run it the way I suggest - any errors will be in /tmp/yourbinary.cronlog&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 16 Aug 2005 14:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604839#M233527</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-08-16T14:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: binary not executed from crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604840#M233528</link>
      <description>I had same problem some time ago and it was due our executable loads stdin/stdout libraries without use them.&lt;BR /&gt;&lt;BR /&gt;Check source code if you load stdin/stdout libraries. Set as comment and try.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles</description>
      <pubDate>Wed, 17 Aug 2005 11:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/binary-not-executed-from-crontab/m-p/3604840#M233528</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2005-08-17T11:32:41Z</dc:date>
    </item>
  </channel>
</rss>

