<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457027#M209526</link>
    <description># su datatel&lt;BR /&gt;$ crontab -e&lt;BR /&gt;Could not connect to ToolTalk service: TT_ERR_PROCID    The process id passed is not valid.&lt;BR /&gt;&lt;BR /&gt;this is the error I get when tring to setup this script as a cron</description>
    <pubDate>Thu, 06 Jan 2005 11:50:56 GMT</pubDate>
    <dc:creator>Gabriel Valdez_1</dc:creator>
    <dc:date>2005-01-06T11:50:56Z</dc:date>
    <item>
      <title>Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457021#M209520</link>
      <description>I would like to run a unidata process as a cron using a login other than root. Can this be done from SAM. If not how do I submitt a cronjob as a user other than root. I have a script that will login to unidata and run my process but when tring to add as a cron in SAM I get error because I a root and unidata does not recognize root.</description>
      <pubDate>Thu, 06 Jan 2005 10:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457021#M209520</guid>
      <dc:creator>Gabriel Valdez_1</dc:creator>
      <dc:date>2005-01-06T10:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457022#M209521</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you want to run this job as root try to do a su as the user who is allowed to run thisjob,&lt;BR /&gt;&lt;BR /&gt;cron_schedule su - allowed_user -c "unidata_job_with_path"&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 11:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457022#M209521</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-06T11:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457023#M209522</link>
      <description>Hi Gabriel,&lt;BR /&gt;&lt;BR /&gt;edit the /var/adm/cron/cron.allow&lt;BR /&gt;&lt;BR /&gt;su - user&lt;BR /&gt;&lt;BR /&gt;crontab -e &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 06 Jan 2005 11:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457023#M209522</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-01-06T11:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457024#M209523</link>
      <description>You need to add the user "unidata" to /var/adm/cron/cron.allow. Afterwards, you can then su - unidata and use the crontab command to read in your cronjobs for that user.&lt;BR /&gt;&lt;BR /&gt;If you want to edit a crontab entry later for this user then su - unidata,&lt;BR /&gt;crontab -l &amp;gt; unidata_cron # unloads current entries&lt;BR /&gt;vi unidata_cron and make your changes&lt;BR /&gt;crontab &amp;lt; unidata_cron # reload the crontab&lt;BR /&gt;will</description>
      <pubDate>Thu, 06 Jan 2005 11:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457024#M209523</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-06T11:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457025#M209524</link>
      <description>Hi Gab,&lt;BR /&gt;&lt;BR /&gt;the easiest way is edit crontab for another user&lt;BR /&gt;&lt;BR /&gt;su - user&lt;BR /&gt;&lt;BR /&gt;crontab -e &lt;BR /&gt;&lt;BR /&gt;2 * * * * $PATH/script.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;contab -l displays submitted jobs&lt;BR /&gt;&lt;BR /&gt;dont forget for env setting in your script, because cron doesn't use profile&lt;BR /&gt;&lt;BR /&gt;rgds Jan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 11:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457025#M209524</guid>
      <dc:creator>Jan Sladky</dc:creator>
      <dc:date>2005-01-06T11:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457026#M209525</link>
      <description>Hi Gabriel,&lt;BR /&gt;&lt;BR /&gt;do "man crontab" to find what is neccessary for a user to run his own cron job. You can allow the user to run his own cron job and setup the cron job for that user.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 11:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457026#M209525</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-06T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457027#M209526</link>
      <description># su datatel&lt;BR /&gt;$ crontab -e&lt;BR /&gt;Could not connect to ToolTalk service: TT_ERR_PROCID    The process id passed is not valid.&lt;BR /&gt;&lt;BR /&gt;this is the error I get when tring to setup this script as a cron</description>
      <pubDate>Thu, 06 Jan 2005 11:50:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457027#M209526</guid>
      <dc:creator>Gabriel Valdez_1</dc:creator>
      <dc:date>2005-01-06T11:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457028#M209527</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Maybe this link would help you identify the cause and find a solution.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063199258" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000063199258&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is CDEKBRC00003554.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jan 2005 12:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457028#M209527</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2005-01-06T12:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cron</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457029#M209528</link>
      <description>This needs to be run as a root user but you want cron as other than root user?&lt;BR /&gt;&lt;BR /&gt;SUDO can be very useful for this situation. Call cron as the unidata user, in the sudoers file you have the unidata user allowed to run this script as root, and the cron script makes a sudo unidata script" call.</description>
      <pubDate>Thu, 06 Jan 2005 12:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron/m-p/3457029#M209528</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-01-06T12:06:15Z</dc:date>
    </item>
  </channel>
</rss>

