<?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 job in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307116#M338784</link>
    <description>Hi Johnson,&lt;BR /&gt;The fifo file shows zero bytes.&lt;BR /&gt;Can you tell me wt is FIFO file.&lt;BR /&gt;&lt;BR /&gt;prw-------   1 root       root             0 Nov 14 21:24 FIFO</description>
    <pubDate>Mon, 17 Nov 2008 06:34:04 GMT</pubDate>
    <dc:creator>zsujith</dc:creator>
    <dc:date>2008-11-17T06:34:04Z</dc:date>
    <item>
      <title>cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307106#M338774</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I have sheduled a cron job in HP server for system reboot. But it doest run last time.&lt;BR /&gt;Could you please help me to find out why it was not run.&lt;BR /&gt;Following is the cron entry.&lt;BR /&gt;&lt;BR /&gt;01 14 * * 0 /etc/shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sujith</description>
      <pubDate>Mon, 17 Nov 2008 01:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307106#M338774</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-11-17T01:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307107#M338775</link>
      <description>&amp;lt;&lt;COULD you="" please="" help="" me="" to="" find="" out="" why="" it="" was="" not="" run.=""&gt;&lt;/COULD&gt;Following is the cron entry&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;what does you cron log shows..?&lt;BR /&gt;&lt;BR /&gt;/var/adm/cron/log ..?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 17 Nov 2008 02:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307107#M338775</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T02:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307108#M338776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You give the wrong path.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;01 14 * * 0 /etc/shutdown -ry 0&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/shutdown -ry &lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Mon, 17 Nov 2008 04:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307108#M338776</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-11-17T04:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307109#M338777</link>
      <description>Hi,&lt;BR /&gt;It seems ok..&lt;BR /&gt;$ ls -l /etc/shutdown&lt;BR /&gt;lrwxr-xr-t   1 root       sys             18 Apr 22  2008 /etc/shutdown -&amp;gt; /usr/sbin/shutdown&lt;BR /&gt;$ ps -ef |grep -i cron&lt;BR /&gt;    root  1596     1  0  Nov  9  ?         0:52 /usr/sbin/cron&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 04:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307109#M338777</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-11-17T04:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307110#M338778</link>
      <description>Hi Suraj,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;You give the wrong path.&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;nothing wrong in the path&lt;BR /&gt;&lt;BR /&gt;see below my crontab "which i am shutdowing the server every -week end"&lt;BR /&gt;&lt;BR /&gt;# crontab -l&lt;BR /&gt;15 08 * * * /opt/omni/lbin/check_back.sh&lt;BR /&gt;#00,5,10,15,20,25,30,35,40,45,50,55 21-23 * * * /var/adm/crash/perf/test.sh&lt;BR /&gt;0 9 * * 1-5 /home/ibmadm1/hc.sh 1&amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt;# Green IT - Server shutdown every Sunday 2000hrs&lt;BR /&gt;0 20 * * 0 /etc/shutdown -hy&lt;BR /&gt;&lt;BR /&gt;# date&lt;BR /&gt;Mon Nov 17 12:09:22 SST 2008&lt;BR /&gt;# ll /etc/shutdown&lt;BR /&gt;lrwxr-xr-t   1 root       sys             18 Jun 23  2005 /etc/shutdown -&amp;gt; /usr/sbin/shutdown&lt;BR /&gt;#&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 04:12:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307110#M338778</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T04:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307111#M338779</link>
      <description>sujith,&lt;BR /&gt;&lt;BR /&gt;did you manged to check on cron logs, what does its says&lt;BR /&gt;&lt;BR /&gt;Thnx&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 17 Nov 2008 04:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307111#M338779</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T04:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307112#M338780</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have not found any entries at 14:01 ..&lt;BR /&gt;&lt;BR /&gt;  root 18856 c Sun Nov 16 14:00:00 CST 2008&lt;BR /&gt;&amp;lt;  root 18856 c Sun Nov 16 14:00:00 CST 2008&lt;BR /&gt;&amp;gt;  root 20394 c Sun Nov 16 14:05:00 CST 2008&lt;BR /&gt;&amp;lt;  root 20394 c Sun Nov 16 14:05:00 CST 2008&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 04:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307112#M338780</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-11-17T04:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307113#M338781</link>
      <description>more /var/adm/cron/cron.allow --&amp;gt; output&lt;BR /&gt;&lt;BR /&gt;need check double confirm  "root" added to cron.allow file&lt;BR /&gt;..?&lt;BR /&gt;&lt;BR /&gt;also please check "syslog" for Sun Nov 16 14:00:00 CST 2008..?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 04:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307113#M338781</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T04:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307114#M338782</link>
      <description>$  more /var/adm/cron/cron.allow&lt;BR /&gt;root&lt;BR /&gt; And There is no entries in syslog for this time</description>
      <pubDate>Mon, 17 Nov 2008 05:04:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307114#M338782</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-11-17T05:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307115#M338783</link>
      <description>do you have cron.deny file ..?&lt;BR /&gt;&lt;BR /&gt;If only the cron.deny exist and is empty,all users can use crontab.file exists only the root user can use the crontab&lt;BR /&gt;&lt;BR /&gt;if you till face some problem&lt;BR /&gt;&lt;BR /&gt;restart the crontab&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;&lt;BR /&gt;cd /usr/lib/cron&lt;BR /&gt;mv FIFO FIFO.old&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 17 Nov 2008 05:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307115#M338783</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T05:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307116#M338784</link>
      <description>Hi Johnson,&lt;BR /&gt;The fifo file shows zero bytes.&lt;BR /&gt;Can you tell me wt is FIFO file.&lt;BR /&gt;&lt;BR /&gt;prw-------   1 root       root             0 Nov 14 21:24 FIFO</description>
      <pubDate>Mon, 17 Nov 2008 06:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307116#M338784</guid>
      <dc:creator>zsujith</dc:creator>
      <dc:date>2008-11-17T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307117#M338785</link>
      <description>cron reads a message from the FIFO only when there are no jobs to&lt;BR /&gt;execute at the current time. If there are any child processes (jobs)&lt;BR /&gt;running, the FIFO read will be delayed.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 17 Nov 2008 06:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307117#M338785</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T06:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307118#M338786</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;is it ok if we update the crontab using vi.&lt;BR /&gt;&lt;BR /&gt;what difference does it make if we use vi and crontab -e to edit the crontab&lt;BR /&gt;&lt;BR /&gt;i had a same situation where the cronjob did not run after i edited the crontab using vi&lt;BR /&gt;&lt;BR /&gt;do i have to restart the cron??&lt;BR /&gt;&lt;BR /&gt;Sunny&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 09:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307118#M338786</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2008-11-17T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307119#M338787</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;Sunny -&amp;gt; after you edited cron with vi you should restart cron. &lt;BR /&gt;&lt;BR /&gt;Editing with crontab -e command doesn't require restart.&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Michal</description>
      <pubDate>Mon, 17 Nov 2008 09:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307119#M338787</guid>
      <dc:creator>Michał Wachowiak</dc:creator>
      <dc:date>2008-11-17T09:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307120#M338788</link>
      <description>Hi Sunny Jaisinghani ,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;i had a same situation where the cronjob did not run after i edited the crontab using vi &amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;by editing crontab using " crontab -e " will helps to refresh crontabs by itself&lt;BR /&gt;&lt;BR /&gt;(i mean you will getting message at the bottom when wq! some thing like Commands will excuted by root")&lt;BR /&gt;&lt;BR /&gt;vi -&amp;gt; doesn't do that for you ,&lt;BR /&gt;&lt;BR /&gt;hope you understand &lt;BR /&gt;&lt;BR /&gt;Thx&lt;BR /&gt;Johnson</description>
      <pubDate>Mon, 17 Nov 2008 09:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307120#M338788</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-17T09:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307121#M338789</link>
      <description>Thanks Michal and john</description>
      <pubDate>Mon, 17 Nov 2008 10:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307121#M338789</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2008-11-17T10:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: cron job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307122#M338790</link>
      <description>&amp;gt;Johnson: nothing wrong in the path&lt;BR /&gt;&lt;BR /&gt;It is probably better to use the correct path than the tlink.  They were planned to be removed for 11.31.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;mv FIFO FIFO.old&lt;BR /&gt;&lt;BR /&gt;I've never needed to do this.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Sunny: is it ok if we update the crontab using vi?&lt;BR /&gt;&lt;BR /&gt;No, you should never do this directly.  As Michal and Johnson said, only use crontab(1).</description>
      <pubDate>Mon, 17 Nov 2008 14:02:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job/m-p/4307122#M338790</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-17T14:02:32Z</dc:date>
    </item>
  </channel>
</rss>

