<?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: cronjob in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945686#M114632</link>
    <description>hi &lt;BR /&gt;this is a simple online script.&lt;BR /&gt;the [ ] is for test. &lt;BR /&gt;if that directory exists, /apps/sta.sh will be run.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
    <pubDate>Tue, 08 Apr 2003 05:40:09 GMT</pubDate>
    <dc:creator>Balaji N</dc:creator>
    <dc:date>2003-04-08T05:40:09Z</dc:date>
    <item>
      <title>cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945685#M114631</link>
      <description>Hi does anybody know what this mean ?.&lt;BR /&gt;&lt;BR /&gt;45 00 * * * [ -d /apps/oracle ]&amp;amp;&amp;amp; /apps/sta.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This was specified in cronjob(crontab -l).what I don't unserstand is what [ ] is doing ???&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 05:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945685#M114631</guid>
      <dc:creator>malay boy</dc:creator>
      <dc:date>2003-04-08T05:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945686#M114632</link>
      <description>hi &lt;BR /&gt;this is a simple online script.&lt;BR /&gt;the [ ] is for test. &lt;BR /&gt;if that directory exists, /apps/sta.sh will be run.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Tue, 08 Apr 2003 05:40:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945686#M114632</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-08T05:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945687#M114633</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;at 12:45 a.m if the /apps/oracle directory exist,then cron will execute the script/apps/sta.sh</description>
      <pubDate>Tue, 08 Apr 2003 05:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945687#M114633</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-04-08T05:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945688#M114634</link>
      <description>This is testing for a directory to be present. &lt;BR /&gt;I for one would not be doing this in the crontab file. The crontab file does not cater for environement variables.&lt;BR /&gt;The testing of the directory should be in the /apps/sta.sh script. If the directory present fails, the script terminates.&lt;BR /&gt;&lt;BR /&gt;if [ -d /apps/oracle ]&lt;BR /&gt;do &lt;BR /&gt;   ....&lt;BR /&gt;else&lt;BR /&gt;   exit&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2003 05:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945688#M114634</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-08T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945689#M114635</link>
      <description>Thanks guy .you are much help.I'm new in scripting.Any idea where can get the document on scripting.</description>
      <pubDate>Wed, 09 Apr 2003 02:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945689#M114635</guid>
      <dc:creator>malay boy</dc:creator>
      <dc:date>2003-04-09T02:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945690#M114636</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There is lots of these. The best way is to do a search from &lt;BR /&gt;&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;&lt;BR /&gt;search for shell script tutorials&lt;BR /&gt;&lt;BR /&gt;Here are some links in the forums, that have some great scripts and links to site where there are number of further examples.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x836cc1c4ceddd61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x836cc1c4ceddd61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 09 Apr 2003 02:35:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945690#M114636</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-04-09T02:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945691#M114637</link>
      <description>see the shell users guide. u will get some basics.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90046/B2355-90046_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90046/00/00/64-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90046/00/00/64-toc.html&amp;amp;searchterms=posix%7cshell%7cusers%7cguide&amp;amp;queryid=20030408-231630" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90046/B2355-90046_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90046/00/00/64-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90046/00/00/64-toc.html&amp;amp;searchterms=posix%7cshell%7cusers%7cguide&amp;amp;queryid=20030408-231630&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and search the forums for favorite (not sure of the spe lling) scripts. u should get plenty of them for study / use.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Wed, 09 Apr 2003 04:20:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob/m-p/2945691#M114637</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-09T04:20:10Z</dc:date>
    </item>
  </channel>
</rss>

