<?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 entry in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580413#M229757</link>
    <description>Combine them into a single shell script with the command "wait" separating the two main commands. That will ensure the system waits for the first command to finish before it runs the second.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
    <pubDate>Tue, 12 Jul 2005 07:45:47 GMT</pubDate>
    <dc:creator>MarkSyder</dc:creator>
    <dc:date>2005-07-12T07:45:47Z</dc:date>
    <item>
      <title>Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580409#M229753</link>
      <description>00 3  * * 1-6  /usr/tools/mcsg/package_check ip_ecust "$(/usr/local/tools/backup/ecprd-bcv_online_merge_split) &amp;amp;&amp;amp; $(/usr/local/tools/backup/ecprd-rdf_merge_split)" &amp;gt;/var/log/backup_ecustomer.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;While I put above entry, part after &amp;amp;&amp;amp; is skipped? any clue? &lt;BR /&gt;Thx&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 12 Jul 2005 07:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580409#M229753</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-07-12T07:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580410#M229754</link>
      <description>There are 2 separate commands.&lt;BR /&gt;Can you combine them?</description>
      <pubDate>Tue, 12 Jul 2005 07:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580410#M229754</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-12T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580411#M229755</link>
      <description>No cant combine those.</description>
      <pubDate>Tue, 12 Jul 2005 07:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580411#M229755</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-07-12T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580412#M229756</link>
      <description>This is basically a backup job. 2nd depends on 1st. &lt;BR /&gt;R1 &amp;gt; R1/BCV &amp;gt; R2. It has to be that way. SO please let me know any way to do it. &lt;BR /&gt;Thx&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 12 Jul 2005 07:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580412#M229756</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-07-12T07:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580413#M229757</link>
      <description>Combine them into a single shell script with the command "wait" separating the two main commands. That will ensure the system waits for the first command to finish before it runs the second.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 12 Jul 2005 07:45:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580413#M229757</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-07-12T07:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580414#M229758</link>
      <description>If there is a dependency, have the 1st part of a script return a value and if that value is successful then execute the 2nd part.</description>
      <pubDate>Tue, 12 Jul 2005 07:47:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580414#M229758</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-12T07:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580415#M229759</link>
      <description>one suggestion might be to enclose using open-braces to the shell:&lt;BR /&gt;&lt;BR /&gt;    package_check_ip_ecust (  x  &amp;amp;&amp;amp; y ) &amp;gt; outfile.&lt;BR /&gt;&lt;BR /&gt;my thinking is, if you can type this in the shell, it might do the trick via cron line, too.  Example: type-in at your prompt: &lt;BR /&gt;&lt;BR /&gt;  ( date &amp;amp;&amp;amp; date )&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jul 2005 08:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580415#M229759</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-07-12T08:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580416#M229760</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use the "serialize" command to run one processe after another. Check the man pages.&lt;BR /&gt;&lt;BR /&gt;Enjoy :-)</description>
      <pubDate>Tue, 12 Jul 2005 09:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580416#M229760</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-07-12T09:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580417#M229761</link>
      <description>I don't think you can do it that way...&lt;BR /&gt;&lt;BR /&gt;For example, when I:&lt;BR /&gt;&lt;BR /&gt;3,8,13,18,23,28,33,38,43,48,53,58 * * * * [ -d /var/adm/lp/XEBEC ] &amp;amp;&amp;amp; /usr/local/bin/mrtg-stats &amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It will only execute after the &amp;amp;&amp;amp; if /var/adm/lp/XEBEC  exists...&lt;BR /&gt;&lt;BR /&gt;The &amp;amp;&amp;amp; is a conditional - and you are not providing a condition...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 12 Jul 2005 09:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580417#M229761</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-12T09:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cron entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580418#M229762</link>
      <description>As of now i just tested with test scripts in ( ) braces..looks alright..WIll update more</description>
      <pubDate>Tue, 12 Jul 2005 12:24:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-entry/m-p/3580418#M229762</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2005-07-12T12:24:07Z</dc:date>
    </item>
  </channel>
</rss>

