<?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 issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228516#M468064</link>
    <description>Hi Denis,&lt;BR /&gt;&lt;BR /&gt;The script is for moving the file from one folder to the other folder. We colud see the files are available in the generated path itself.&lt;BR /&gt;&lt;BR /&gt;What is the issue with the profile? Earlier the same script was working fine. Any modification required, please let me know.&lt;BR /&gt;------------------------&lt;BR /&gt;Error  in: /var/mail/root.&lt;BR /&gt;From root@hphost25 Sat Mar  6 23:32:00 uae 2010&lt;BR /&gt;Received: (from root@localhost)&lt;BR /&gt;        by hphost25 (8.11.1 (PHNE_35951)/8.11.1) id o26JW0V14578&lt;BR /&gt;        for root; Sat, 6 Mar 2010 23:32:00 +0400 (uae)&lt;BR /&gt;Date: Sat, 6 Mar 2010 23:32:00 +0400 (uae)&lt;BR /&gt;From: root@hphost25&lt;BR /&gt;Message-Id: &amp;lt;201003061932.o26JW0V14578@hphost25&amp;gt;&lt;BR /&gt;Subject: cron&lt;BR /&gt;&lt;BR /&gt;Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;age is the standard output&lt;BR /&gt;      and standard error of one of your crontab commands:&lt;BR /&gt;&lt;BR /&gt;/cardprod/batches/LiveSync.sh&amp;gt;&amp;gt;/cardprod/batches/logs/ProcessFiles.log &amp;amp;&lt;BR /&gt;------------------------------</description>
    <pubDate>Sun, 07 Mar 2010 01:21:01 GMT</pubDate>
    <dc:creator>V.P</dc:creator>
    <dc:date>2010-03-07T01:21:01Z</dc:date>
    <item>
      <title>Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228511#M468059</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;The cron job is not running. Enclosed is the details.&lt;BR /&gt;HP-UX: 11.23&lt;BR /&gt;-----------------&lt;BR /&gt;Error:&lt;BR /&gt;Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;age is the standard output&lt;BR /&gt;      and standard error of one of your crontab commands:&lt;BR /&gt;------------------------&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 06 Mar 2010 20:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228511#M468059</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-03-06T20:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228512#M468060</link>
      <description>&lt;!--!*#--&gt;&amp;gt; stty: : Not a typewriter&lt;BR /&gt;&lt;BR /&gt;So, what's in&lt;BR /&gt;"/cardprod/batches/LiveSync.sh", and is it&lt;BR /&gt;(somehow) doing a bunch of commands (like,&lt;BR /&gt;say, "stty") which make sense only with an&lt;BR /&gt;interactive terminal (which a "cron" job does&lt;BR /&gt;not have)?</description>
      <pubDate>Sat, 06 Mar 2010 20:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228512#M468060</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-06T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228513#M468061</link>
      <description>Previously this was working fine. Any way the script is:&lt;BR /&gt;----------------------------&lt;BR /&gt;#This script must be invoked by crontab once every minute to process HPS embossing files&lt;BR /&gt;. /.profile &amp;gt; /dev/null&lt;BR /&gt;&lt;BR /&gt;export PROC_EXEC=/cardprod/batches&lt;BR /&gt;&lt;BR /&gt;#while true&lt;BR /&gt;#do&lt;BR /&gt;sleep 10&lt;BR /&gt;echo -----------------------------------&lt;BR /&gt;java -classpath /cardprod/batches/ LiveSync&lt;BR /&gt;echo -----------------------------------&lt;BR /&gt;sleep 30&lt;BR /&gt;java -classpath /cardprod/batches/ LiveSync&lt;BR /&gt;#done&lt;BR /&gt;-------------------------------------------</description>
      <pubDate>Sat, 06 Mar 2010 20:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228513#M468061</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-03-06T20:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228514#M468062</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Previously this was working fine. [...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; . /.profile &amp;gt; /dev/null&lt;BR /&gt;&lt;BR /&gt;So, I'll guess that "Previously" involved a&lt;BR /&gt;different "/.profile" (or "/etc/profile", or&lt;BR /&gt;some other thing which gets sucked in&lt;BR /&gt;directly or indirectly by this ".profile").&lt;BR /&gt;&lt;BR /&gt;Wow.  I would not use a hard-coded name of&lt;BR /&gt;"/.profile", either.  Around here, root's&lt;BR /&gt;home is "/root", so there is no "/.profile".&lt;BR /&gt;I'd think that "~root/.profile" would be more&lt;BR /&gt;reliable (especially on a Linux system, where&lt;BR /&gt;"/root" is common).&lt;BR /&gt;&lt;BR /&gt;A search for keywords like, say,&lt;BR /&gt;      cron stty&lt;BR /&gt;might find some examples of popular ways to&lt;BR /&gt;restrict execution of commands like "stty" to&lt;BR /&gt;interactive situations.</description>
      <pubDate>Sat, 06 Mar 2010 20:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228514#M468062</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-06T20:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228515#M468063</link>
      <description>&amp;gt;The cron job is not running.&lt;BR /&gt;&lt;BR /&gt;How do you know it's not running?  Other than the extra output, it might be working fine?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;. /.profile &amp;gt; /dev/null&lt;BR /&gt;&lt;BR /&gt;If you don't want to fix your ~/.profile, you could redirect stderr too:&lt;BR /&gt;. ~/.profile &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&amp;gt;This script must be invoked by crontab once every minute&lt;BR /&gt;&lt;BR /&gt;Looks like it only needs to be invoked once by cron and then it does runs every 10 then 30 seconds.</description>
      <pubDate>Sun, 07 Mar 2010 00:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228515#M468063</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-07T00:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228516#M468064</link>
      <description>Hi Denis,&lt;BR /&gt;&lt;BR /&gt;The script is for moving the file from one folder to the other folder. We colud see the files are available in the generated path itself.&lt;BR /&gt;&lt;BR /&gt;What is the issue with the profile? Earlier the same script was working fine. Any modification required, please let me know.&lt;BR /&gt;------------------------&lt;BR /&gt;Error  in: /var/mail/root.&lt;BR /&gt;From root@hphost25 Sat Mar  6 23:32:00 uae 2010&lt;BR /&gt;Received: (from root@localhost)&lt;BR /&gt;        by hphost25 (8.11.1 (PHNE_35951)/8.11.1) id o26JW0V14578&lt;BR /&gt;        for root; Sat, 6 Mar 2010 23:32:00 +0400 (uae)&lt;BR /&gt;Date: Sat, 6 Mar 2010 23:32:00 +0400 (uae)&lt;BR /&gt;From: root@hphost25&lt;BR /&gt;Message-Id: &amp;lt;201003061932.o26JW0V14578@hphost25&amp;gt;&lt;BR /&gt;Subject: cron&lt;BR /&gt;&lt;BR /&gt;Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;age is the standard output&lt;BR /&gt;      and standard error of one of your crontab commands:&lt;BR /&gt;&lt;BR /&gt;/cardprod/batches/LiveSync.sh&amp;gt;&amp;gt;/cardprod/batches/logs/ProcessFiles.log &amp;amp;&lt;BR /&gt;------------------------------</description>
      <pubDate>Sun, 07 Mar 2010 01:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228516#M468064</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-03-07T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228517#M468065</link>
      <description>hi can you share me ?&lt;BR /&gt;script: /cardprod/batches/LiveSync.sh&amp;gt;&amp;gt;/cardprod/batches/logs/ProcessFiles.log &amp;amp;</description>
      <pubDate>Sun, 07 Mar 2010 01:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228517#M468065</guid>
      <dc:creator>Deeos</dc:creator>
      <dc:date>2010-03-07T01:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228518#M468066</link>
      <description>&amp;gt;What is the issue with the profile? Earlier the same script was working fine.&lt;BR /&gt;&lt;BR /&gt;Did you redirect stderr as I mentioned?&lt;BR /&gt;. ~/.profile &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;If your script isn't moving the files, change the "#!" line to add "-x" to the end.  This will trace execution and may give an idea where it fails.</description>
      <pubDate>Sun, 07 Mar 2010 01:58:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228518#M468066</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-07T01:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228519#M468067</link>
      <description>&lt;!--!*#--&gt;&amp;gt; A search for keywords like, say,&lt;BR /&gt;&amp;gt;       cron stty&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;I tried Google with:&lt;BR /&gt;&lt;BR /&gt;      cron stty "Not a typewriter"&lt;BR /&gt;&lt;BR /&gt;and found (among many):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://muzso.hu/2007/08/06/fixing-stty-errors-during-crontab-scripts-on-hp-ux" target="_blank"&gt;http://muzso.hu/2007/08/06/fixing-stty-errors-during-crontab-scripts-on-hp-ux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which looked reasonable.</description>
      <pubDate>Sun, 07 Mar 2010 05:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228519#M468067</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-03-07T05:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cron Job issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228520#M468068</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;Issue resolved. Above mentioned file is calling a configuration file for the details. In that IP mentioned was wrong. We have changed the same.&lt;BR /&gt;&lt;BR /&gt;Once again thanks....</description>
      <pubDate>Sun, 07 Mar 2010 10:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-issue/m-p/5228520#M468068</guid>
      <dc:creator>V.P</dc:creator>
      <dc:date>2010-03-07T10:53:51Z</dc:date>
    </item>
  </channel>
</rss>

