<?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 Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136142#M451328</link>
    <description>I killed the process and was able to start and stop after that with no problems.</description>
    <pubDate>Tue, 21 Oct 2008 12:20:42 GMT</pubDate>
    <dc:creator>james1964</dc:creator>
    <dc:date>2008-10-21T12:20:42Z</dc:date>
    <item>
      <title>Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136136#M451322</link>
      <description>I have a very strange problem. I run a few scripts in the root cron. Most of the scripts a running fine. I have 2 that are not running like they are suppose to. They have worked fine for about a year without problem. About 3 weeks ago we has a power outage. We have battery backups to keep are servers up about an hour. I manually shutdown this server before it lost power using the shutdown -h 0. When I brought up the server, most of the processes that are in rc1 did not automatically start like they are suppose to. I ended up starting most everything manually. This server is a key to our shopping cart login so I don't want to have to reboot it again. When I try to run a cron stop, cron start, or cron status I get the following&lt;BR /&gt;&lt;BR /&gt;# ! cron is already running Fri Oct 17 09:50:13 CDT 2008&lt;BR /&gt;! ******* CRON ABORTED ******** Fri Oct 17 09:50:13 CDT 2008&lt;BR /&gt;&lt;BR /&gt;Is there a way I can kill this process and try to start it again?&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2008 14:57:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136136#M451322</guid>
      <dc:creator>james1964</dc:creator>
      <dc:date>2008-10-17T14:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136137#M451323</link>
      <description>Asuming it is HP-UX system.&lt;BR /&gt;ps -ef|grep cron does that tell cron daemon is up? check /etc/inittab, maybe you have respawn set up for corn daemon. If so, you just need run cron stop, system will bring cron daemon up.</description>
      <pubDate>Fri, 17 Oct 2008 15:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136137#M451323</guid>
      <dc:creator>John Guster</dc:creator>
      <dc:date>2008-10-17T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136138#M451324</link>
      <description>I would be interested in just what caused "most of the processes that are in rc1" to fail.  Can you provide any further info on that?  I feel that these failures have to be related to your cron issues, but can't yet see the connection.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 17 Oct 2008 15:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136138#M451324</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-10-17T15:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136139#M451325</link>
      <description>When I type the command iget the following output. It looks like it is stopped to me, but I have another script in the cron that creates files every 10 minutes and those files are being created.&lt;BR /&gt;&lt;BR /&gt;# ps -ef|grep cron&lt;BR /&gt;    root 18973     1  0 09:27:04 ?         0:00 cron stop&lt;BR /&gt;    root 27917 18690  1 11:28:12 pts/tJ    0:00 grep cron&lt;BR /&gt;&lt;BR /&gt;I am running HP_UX 11i. I am not sure why things did not auto start. They usually do. I agree that it is related, but I am not sure how to track why it did what it did. &lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2008 15:30:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136139#M451325</guid>
      <dc:creator>james1964</dc:creator>
      <dc:date>2008-10-17T15:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136140#M451326</link>
      <description>&amp;gt;I am not sure why things did not auto start.&lt;BR /&gt;&lt;BR /&gt;Take a look at /etc/rc.log and the old one?&lt;BR /&gt;Also /var/adm/cron/log.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;cron stop&lt;BR /&gt;&lt;BR /&gt;There is no such option documented.  cron(1m) says you should use: /sbin/init.d/cron</description>
      <pubDate>Fri, 17 Oct 2008 22:58:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136140#M451326</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-17T22:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136141#M451327</link>
      <description>The cron was stuck in a half way position. I guess it was trying to stop. Using the ps command you gave me, (Thank you, I should have thought of that) I killed the cron. Then I was able to start and stop it with no problems. All of my cron jobs are running now. I am curious why things did not auto start as well. I will search the logs you suggested to see if I can find anything. Thanks for the help.</description>
      <pubDate>Tue, 21 Oct 2008 12:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136141#M451327</guid>
      <dc:creator>james1964</dc:creator>
      <dc:date>2008-10-21T12:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136142#M451328</link>
      <description>I killed the process and was able to start and stop after that with no problems.</description>
      <pubDate>Tue, 21 Oct 2008 12:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-problem/m-p/5136142#M451328</guid>
      <dc:creator>james1964</dc:creator>
      <dc:date>2008-10-21T12:20:42Z</dc:date>
    </item>
  </channel>
</rss>

