<?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: Cron Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897460#M282467</link>
    <description>Most of the time this is due to path settings. &lt;BR /&gt;use set -x at top your script and then trouble shoot&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
    <pubDate>Mon, 13 Nov 2006 16:39:31 GMT</pubDate>
    <dc:creator>Uday_S_Ankolekar</dc:creator>
    <dc:date>2006-11-13T16:39:31Z</dc:date>
    <item>
      <title>Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897458#M282465</link>
      <description>&lt;BR /&gt;I have this defined in my cron entry : &lt;BR /&gt;&lt;BR /&gt;10 * * * * /usr/bin/date &amp;gt;&amp;gt; /export/home/tg123/perf_stat &amp;amp;&amp;amp; /usr/ucb/ps -auxww |grep java |grep tg123 |grep default |awk '{print $3" "$4}' &amp;gt;&amp;gt; /export/home/tg123/perf_stat&lt;BR /&gt;&lt;BR /&gt;It runs fine at command line but its not updating the perf_stat file through the cron entry.&lt;BR /&gt;Any clues ?&lt;BR /&gt;&lt;BR /&gt;thanks, &lt;BR /&gt;hunki</description>
      <pubDate>Mon, 13 Nov 2006 16:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897458#M282465</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2006-11-13T16:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897459#M282466</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Make the full command as a script and give the script name in crontab &lt;BR /&gt;&lt;BR /&gt;it may work&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 16:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897459#M282466</guid>
      <dc:creator>Nair1980</dc:creator>
      <dc:date>2006-11-13T16:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897460#M282467</link>
      <description>Most of the time this is due to path settings. &lt;BR /&gt;use set -x at top your script and then trouble shoot&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Mon, 13 Nov 2006 16:39:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897460#M282467</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2006-11-13T16:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897461#M282468</link>
      <description>I did try putting it in a script but the date part is not getting updated in the perf file.</description>
      <pubDate>Mon, 13 Nov 2006 17:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897461#M282468</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2006-11-13T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897462#M282469</link>
      <description>Did you check /var/adm/cron/log? maybe you can find something there.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 13 Nov 2006 17:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897462#M282469</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-13T17:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897463#M282470</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;You can put this single line as two commands in script i think..&lt;BR /&gt;&lt;BR /&gt;try in this way &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 17:57:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897463#M282470</guid>
      <dc:creator>Nair1980</dc:creator>
      <dc:date>2006-11-13T17:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897464#M282471</link>
      <description>I did try the two part way, but it ceases to work.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 18:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897464#M282471</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2006-11-13T18:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897465#M282472</link>
      <description>can you run "sh -x &lt;YOUR_SCRIPT&gt;&lt;/YOUR_SCRIPT&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 13 Nov 2006 18:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897465#M282472</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-13T18:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897466#M282473</link>
      <description>Why are you using "&amp;amp;&amp;amp;" instead of just ";"?&lt;BR /&gt;You can also use: awk '{print $3, $4}'&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I did try the two part way, but it ceases to work.&lt;BR /&gt;&lt;BR /&gt;You did it with separate lines in a script?  If that fails, you need to fix that first.  And as  Yang says, use -x.</description>
      <pubDate>Tue, 14 Nov 2006 00:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897466#M282473</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-11-14T00:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897467#M282474</link>
      <description>hi hunki,&lt;BR /&gt;&lt;BR /&gt;try to do a:&lt;BR /&gt;&lt;BR /&gt;touch /export/home/tg123/perf_stat &lt;BR /&gt;&lt;BR /&gt;(as the crontab owner)&lt;BR /&gt;&lt;BR /&gt;and try again&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 14 Nov 2006 01:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897467#M282474</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-11-14T01:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897468#M282475</link>
      <description>Hi, just an idea - what about the permissions of the file perf_stat?&lt;BR /&gt;&lt;BR /&gt;Does the user running the crontab the right to write into this file?</description>
      <pubDate>Tue, 14 Nov 2006 04:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-question/m-p/3897468#M282475</guid>
      <dc:creator>jnovak</dc:creator>
      <dc:date>2006-11-14T04:44:01Z</dc:date>
    </item>
  </channel>
</rss>

