<?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: Bizarre cron problem - script running in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237830#M890732</link>
    <description>Did you create  a link or a copy that file.&lt;BR /&gt;&lt;BR /&gt;Do you have any link inside the script pointing there?</description>
    <pubDate>Fri, 02 Apr 2004 04:45:12 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2004-04-02T04:45:12Z</dc:date>
    <item>
      <title>Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237827#M890729</link>
      <description>I've got a confusing problem with cron. I have two data transfer jobs. One needs to run everynight at 20:10 (overnight_transfer), and one is run adhoc (frontend_transfer).&lt;BR /&gt;&lt;BR /&gt;I have created a specific user for these, and this is the crontab for that user:&lt;BR /&gt;&lt;BR /&gt;10 20 * * * * /home/transfer/overnight_transfer&lt;BR /&gt;&lt;BR /&gt;The problem I have, is that this isn't actually the job that runs, it runs /home/transfer/frontend_transfer instead. The cron log confirms what it says in cron:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  CMD: * /home/transfer/overnight_transfer&lt;BR /&gt;&amp;gt;  transfer 14605 c Thu Apr  1 20:10:00 BST 2004&lt;BR /&gt;&lt;BR /&gt;frontend_transfer was created by copying overnight_transfer, would this have anything to do with it?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 04:34:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237827#M890729</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2004-04-02T04:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237828#M890730</link>
      <description>I forgot to say, that if I run the /home/transfer/overnight_transfer manually, the  correct script runs.</description>
      <pubDate>Fri, 02 Apr 2004 04:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237828#M890730</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2004-04-02T04:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237829#M890731</link>
      <description>Hi Robin,&lt;BR /&gt;&lt;BR /&gt;How did you edit you cron, cronab -e or vi.&lt;BR /&gt;Try restarting the crond.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/cron stop&lt;BR /&gt;# /sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 02 Apr 2004 04:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237829#M890731</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-04-02T04:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237830#M890732</link>
      <description>Did you create  a link or a copy that file.&lt;BR /&gt;&lt;BR /&gt;Do you have any link inside the script pointing there?</description>
      <pubDate>Fri, 02 Apr 2004 04:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237830#M890732</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-04-02T04:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237831#M890733</link>
      <description>I used crontab -e. &lt;BR /&gt;&lt;BR /&gt;The server reboots every morning as part of the backup schedule, so cron is being restarted every day. &lt;BR /&gt;&lt;BR /&gt;I simply cp'd the file, and edited the copy.&lt;BR /&gt;&lt;BR /&gt;I don't have any links. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 04:47:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237831#M890733</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2004-04-02T04:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237832#M890734</link>
      <description>My suggestion is:&lt;BR /&gt;&lt;BR /&gt;Run crontab -r for the user and then create again crontab entry with crontab -e&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Fri, 02 Apr 2004 04:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237832#M890734</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2004-04-02T04:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237833#M890735</link>
      <description>Your crontab entry is wrong.  This could be a typo but it should read &lt;BR /&gt; &lt;BR /&gt;10 20 * * * /home/transfer/overnight_transfer&lt;BR /&gt; &lt;BR /&gt;You have too many "*"'s</description>
      <pubDate>Fri, 02 Apr 2004 04:59:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237833#M890735</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-04-02T04:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237834#M890736</link>
      <description>Sanjay, Mark, I'll try both of your suggestions. Thanks</description>
      <pubDate>Fri, 02 Apr 2004 05:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237834#M890736</guid>
      <dc:creator>Robin King_1</dc:creator>
      <dc:date>2004-04-02T05:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bizarre cron problem - script running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237835#M890737</link>
      <description>Crontab is trying to run program named: "*"... Delete one * and do like this:&lt;BR /&gt;10 20 * * *  /home/transfer/overnight_transfer&lt;BR /&gt;&lt;BR /&gt;-Tomek&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Apr 2004 05:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/bizarre-cron-problem-script-running/m-p/3237835#M890737</guid>
      <dc:creator>Tomek Gryszkiewicz</dc:creator>
      <dc:date>2004-04-02T05:30:49Z</dc:date>
    </item>
  </channel>
</rss>

