<?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: crontab entry in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254573#M331982</link>
    <description>Please provide your exact requirement. When you exactly want to run this script, specify the time date and days as well when you need to execute this script.&lt;BR /&gt;&lt;BR /&gt;Your crontab entry is not proper. I am not understanding why u have specify 1-5.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
    <pubDate>Tue, 19 Aug 2008 17:08:05 GMT</pubDate>
    <dc:creator>SKR_1</dc:creator>
    <dc:date>2008-08-19T17:08:05Z</dc:date>
    <item>
      <title>crontab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254570#M331979</link>
      <description>Hello expert,&lt;BR /&gt;&lt;BR /&gt;I have one of the backup script whose crontab entry is missing. back up is updating every day on particular file system.&lt;BR /&gt;Script is:---------&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;cd /db_backup&lt;BR /&gt;nohup compress *.1&lt;BR /&gt;nohup compress *.2&lt;BR /&gt;echo "compression complete" &amp;gt; compit&lt;BR /&gt;find . -mtime -7 -mtime +1 &amp;gt; delit&lt;BR /&gt;find ohr* -mtime -1 &amp;gt; copyit&lt;BR /&gt;for i in `cat copyit`&lt;BR /&gt;do&lt;BR /&gt;nohup cp $i /ignite-backup/backups/db_backup&lt;BR /&gt;done&lt;BR /&gt;for i in `cat delit`&lt;BR /&gt;do&lt;BR /&gt;rm $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;As per the crontab i am making this entry ,please comment on this .&lt;BR /&gt;&lt;BR /&gt;min  hr   date    month  dayofweek         cmd&lt;BR /&gt;0     18   1,15    *          1-5            /ignite-backup/backups/db_backup</description>
      <pubDate>Tue, 19 Aug 2008 15:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254570#M331979</guid>
      <dc:creator>subodhbagade</dc:creator>
      <dc:date>2008-08-19T15:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: crontab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254571#M331980</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I presume that you want a comment about the crontab scheduling:&lt;BR /&gt;&lt;BR /&gt;Your command will run every Monday through Friday (inclusive) *including* the 1st and the 15th of every ("*") month t 1800.&lt;BR /&gt;&lt;BR /&gt;See the 'crontab' manpages.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 19 Aug 2008 15:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254571#M331980</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-08-19T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: crontab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254572#M331981</link>
      <description>Hi subodh,&lt;BR /&gt;      It seems that it will run on every 1st and 15th of the month if there is mon-fri, otherwise it will not run, it will run at evening 6 o'clock if first condition match. . .&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Piyush Mathiya&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Aug 2008 15:38:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254572#M331981</guid>
      <dc:creator>piyush mathiya</dc:creator>
      <dc:date>2008-08-19T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: crontab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254573#M331982</link>
      <description>Please provide your exact requirement. When you exactly want to run this script, specify the time date and days as well when you need to execute this script.&lt;BR /&gt;&lt;BR /&gt;Your crontab entry is not proper. I am not understanding why u have specify 1-5.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Tue, 19 Aug 2008 17:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254573#M331982</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-08-19T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: crontab entry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254574#M331983</link>
      <description>What do you expect to do with those nohups scattered in your script?  This isn't going to help because the next step may be aborted.&lt;BR /&gt;Also, since the script is started from cron, there won't be any hangup signals.&lt;BR /&gt;&lt;BR /&gt;Note your last for-loop can be replaced by:&lt;BR /&gt;rm $(&amp;lt; delit)&lt;BR /&gt;And similarly the other:&lt;BR /&gt;nohup cp $(&amp;lt; copyit) /ignite-backup/backups/db_backup</description>
      <pubDate>Wed, 20 Aug 2008 05:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-entry/m-p/4254574#M331983</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-20T05:35:54Z</dc:date>
    </item>
  </channel>
</rss>

