<?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 A question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125386#M315411</link>
    <description>What happens if some thing is already running on the machine and u give that command accidently. I explain my scenarion:&lt;BR /&gt;&lt;BR /&gt;I was going to check the cron logs by moving to var/adm/cron. I changed directories to var/adm and instead of typing cd cron there, I typed cron by error. The machine gave me the following error:&lt;BR /&gt; cron&lt;BR /&gt;unix20:# ! cron is already running Mon Jan  7 08:39:10 EST 2008&lt;BR /&gt;! ******* CRON ABORTED ******** Mon Jan  7 08:39:10 EST 2008&lt;BR /&gt;&lt;BR /&gt;I am just kinda curious if that thing is of big issue or not. Because that machine is the main production server.&lt;BR /&gt;&lt;BR /&gt;An earlier reply is highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ali</description>
    <pubDate>Mon, 07 Jan 2008 13:59:27 GMT</pubDate>
    <dc:creator>Ali Imran Abbas</dc:creator>
    <dc:date>2008-01-07T13:59:27Z</dc:date>
    <item>
      <title>A question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125386#M315411</link>
      <description>What happens if some thing is already running on the machine and u give that command accidently. I explain my scenarion:&lt;BR /&gt;&lt;BR /&gt;I was going to check the cron logs by moving to var/adm/cron. I changed directories to var/adm and instead of typing cd cron there, I typed cron by error. The machine gave me the following error:&lt;BR /&gt; cron&lt;BR /&gt;unix20:# ! cron is already running Mon Jan  7 08:39:10 EST 2008&lt;BR /&gt;! ******* CRON ABORTED ******** Mon Jan  7 08:39:10 EST 2008&lt;BR /&gt;&lt;BR /&gt;I am just kinda curious if that thing is of big issue or not. Because that machine is the main production server.&lt;BR /&gt;&lt;BR /&gt;An earlier reply is highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Ali</description>
      <pubDate>Mon, 07 Jan 2008 13:59:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125386#M315411</guid>
      <dc:creator>Ali Imran Abbas</dc:creator>
      <dc:date>2008-01-07T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: A question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125387#M315412</link>
      <description>hey&lt;BR /&gt;&lt;BR /&gt;use this to check whether cron is still running or not:&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep cron&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 07 Jan 2008 14:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125387#M315412</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2008-01-07T14:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: A question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125388#M315413</link>
      <description>Just check to make sure that cron is, in fact, running:&lt;BR /&gt;&lt;BR /&gt;ps -ef |grep cron&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 07 Jan 2008 14:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125388#M315413</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-01-07T14:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: A question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125389#M315414</link>
      <description>Hello Ali&lt;BR /&gt;&lt;BR /&gt;Your scenario is actually a pretty good example of what *can* happen.&lt;BR /&gt;&lt;BR /&gt;In this case you attempted to start a daemon while an instance of it was already running.  Cron started up, checked to see if another instance was already running, found one, informed you of this fact and then exited.  Nothing got broken.&lt;BR /&gt;&lt;BR /&gt;The important thing to notice here is that cron was *smart* enough to check for a running instance *before* doing anything else.  Some less sophisticated software (or command) might not do that.&lt;BR /&gt;&lt;BR /&gt;So the answer to your question is "it depends".  It depends on what command you run and how that particular software handles the situation.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Mon, 07 Jan 2008 15:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125389#M315414</guid>
      <dc:creator>Francis Noël</dc:creator>
      <dc:date>2008-01-07T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: A question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125390#M315415</link>
      <description>Since you now know you didn't kill anything....&lt;BR /&gt;&lt;BR /&gt;For reviewing the logs, why bother to copy them, thus opening yourself up for a typo.&lt;BR /&gt;&lt;BR /&gt;If all you want to do is review, then just type:&lt;BR /&gt;&lt;BR /&gt;#more /var/adm/cron/log&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2008 18:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-question/m-p/4125390#M315415</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-01-07T18:24:11Z</dc:date>
    </item>
  </channel>
</rss>

