<?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: running commands at selected time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949768#M413382</link>
    <description>we have the scripts for shutting down the application and the database:&lt;BR /&gt;1- ./stopappl for shutdown the application.&lt;BR /&gt;2- ./stoporadb for shutdown the database.&lt;BR /&gt;&lt;BR /&gt;so if i want to run this to scripts at 18:00pm evrey day exept weekends.&lt;BR /&gt;&lt;BR /&gt;what is the full command to do it?&lt;BR /&gt;&lt;BR /&gt;remark: ./stopappl under applmgr user and the ./stoporadb under oracle user.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Jan 2006 02:54:15 GMT</pubDate>
    <dc:creator>Ahmed M. AlShafiy</dc:creator>
    <dc:date>2006-01-04T02:54:15Z</dc:date>
    <item>
      <title>running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949755#M413369</link>
      <description>how can i run a command that is owned by another user than the root at a selected time.&lt;BR /&gt;&lt;BR /&gt;i have a commands under the application admin to stop the oracle application and another commands under the database user to stop and restart the oracle database.&lt;BR /&gt;&lt;BR /&gt;and after that i want to select a time to run a backup.</description>
      <pubDate>Tue, 03 Jan 2006 03:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949755#M413369</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-03T03:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949756#M413370</link>
      <description>You can choose schedular(s) like crontab or at to start commands at required time. Or else you can make scripting to check time and sleep for the rest of the time.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 03 Jan 2006 03:54:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949756#M413370</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-03T03:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949757#M413371</link>
      <description>write down script for start and stopping oracle application and as well as backup. Put the crontab with crontab -e using that user.&lt;BR /&gt;&lt;BR /&gt;You have to use sudo to run the application from that user without using password.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 03 Jan 2006 03:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949757#M413371</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-03T03:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949758#M413372</link>
      <description>sorry but i'm a new with HP-UX can you help me with the steps to do it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;:(</description>
      <pubDate>Tue, 03 Jan 2006 03:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949758#M413372</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-03T03:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949759#M413373</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;u may use "cron" or "at" to schedule the job. &lt;BR /&gt;&lt;BR /&gt;for root to run the script as another user:&lt;BR /&gt;&lt;BR /&gt;# su - &lt;USERNAME&gt; -c &amp;lt;script&amp;gt;&lt;BR /&gt;&lt;BR /&gt;regards.&lt;/USERNAME&gt;</description>
      <pubDate>Tue, 03 Jan 2006 03:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949759#M413373</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2006-01-03T03:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949760#M413374</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The process of executing a command at a particular time can be done by both at and cron. But best to do for this sort of scenario will be to create a script which checks for the  status of completion of first command and only after successful completion of the first command executes the later part.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Tue, 03 Jan 2006 03:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949760#M413374</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-03T03:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949761#M413375</link>
      <description>Refer this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726079" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=726079&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/james/search.do?todo=search&amp;amp;admit=-1335382922+1136278644729+28353475&amp;amp;searchtext=oracle+scheduling&amp;amp;from=forums&amp;amp;origin=0&amp;amp;submit.x=0&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;submit.y=0&amp;amp;searchcategory=ALL&amp;amp;hpl=1&amp;amp;searchcriteria=allwords&amp;amp;rn=25&amp;amp;source=7000&amp;amp;presort=rank&amp;amp;chkServStor=on&amp;amp;esc=us.support.itrc.hp.com" target="_blank"&gt;http://www2.itrc.hp.com/service/james/search.do?todo=search&amp;amp;admit=-1335382922+1136278644729+28353475&amp;amp;searchtext=oracle+scheduling&amp;amp;from=forums&amp;amp;origin=0&amp;amp;submit.x=0&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;submit.y=0&amp;amp;searchcategory=ALL&amp;amp;hpl=1&amp;amp;searchcriteria=allwords&amp;amp;rn=25&amp;amp;source=7000&amp;amp;presort=rank&amp;amp;chkServStor=on&amp;amp;esc=us.support.itrc.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;scheduling oracle script(s).&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 03 Jan 2006 03:58:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949761#M413375</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-03T03:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949762#M413376</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;You can write your own script and put it in crontab or at to run at selected time. &lt;BR /&gt;&lt;BR /&gt;# man crontab &lt;BR /&gt;# man at &lt;BR /&gt;&lt;BR /&gt;for more details.&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 03 Jan 2006 03:58:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949762#M413376</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-03T03:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949763#M413377</link>
      <description>Selam Ahmed,&lt;BR /&gt;"at" or "crontab" are for running jobs&lt;BR /&gt;automatically.Normally "at" is using for to run only 1 ,cron is for to run a processes,script more than 1 as permanently&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 04:00:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949763#M413377</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-01-03T04:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949764#M413378</link>
      <description>Are you able to stop / start / take backup from command line. Try to take those command and,&lt;BR /&gt;&lt;BR /&gt;login with that user which you want to run the commands,&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;&lt;BR /&gt;and use the format of,&lt;BR /&gt;&lt;BR /&gt;minute  hour  monthday  month  weekday  command&lt;BR /&gt;&lt;BR /&gt;Change this format to suit your requirement. My previous reply is having more examples.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 03 Jan 2006 04:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949764#M413378</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-03T04:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949765#M413379</link>
      <description>&lt;A href="http://www4.itrc.hp.com/service/james/search.do?searchtext=cron%2Bat&amp;amp;hpl=1&amp;amp;todo=search&amp;amp;searchcriteria=allwords&amp;amp;from=forums&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;source=7000&amp;amp;esc=europe.support.itrc.hp.com&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;origin=0&amp;amp;chkServStor=on" target="_blank"&gt;http://www4.itrc.hp.com/service/james/search.do?searchtext=cron%2Bat&amp;amp;hpl=1&amp;amp;todo=search&amp;amp;searchcriteria=allwords&amp;amp;from=forums&amp;amp;searchcategory=ALL&amp;amp;rn=25&amp;amp;presort=rank&amp;amp;source=7000&amp;amp;esc=europe.support.itrc.hp.com&amp;amp;wpa=forums1.itrc.hp.com%3A80&amp;amp;origin=0&amp;amp;chkServStor=on&lt;/A&gt;</description>
      <pubDate>Tue, 03 Jan 2006 04:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949765#M413379</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-01-03T04:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949766#M413380</link>
      <description>Some threads for your reference, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=821853" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=821853&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=31119" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=31119&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 03 Jan 2006 04:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949766#M413380</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-03T04:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949767#M413381</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;First of all you must create a script for each of the following operations:&lt;BR /&gt;a. Stop the Oracle Application&lt;BR /&gt;b. Shutdown the Oracle database&lt;BR /&gt;c. Startup of the Oracle Database&lt;BR /&gt;d. Perform a database backup&lt;BR /&gt;e. Startup of the Oracle Application&lt;BR /&gt;&lt;BR /&gt;(nb. a &amp;amp; e can be one script as well as b &amp;amp;c.&lt;BR /&gt;&lt;BR /&gt;You can then use "cron" or "at" to schedule the execution at the required times.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 03 Jan 2006 04:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949767#M413381</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-01-03T04:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949768#M413382</link>
      <description>we have the scripts for shutting down the application and the database:&lt;BR /&gt;1- ./stopappl for shutdown the application.&lt;BR /&gt;2- ./stoporadb for shutdown the database.&lt;BR /&gt;&lt;BR /&gt;so if i want to run this to scripts at 18:00pm evrey day exept weekends.&lt;BR /&gt;&lt;BR /&gt;what is the full command to do it?&lt;BR /&gt;&lt;BR /&gt;remark: ./stopappl under applmgr user and the ./stoporadb under oracle user.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 02:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949768#M413382</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-04T02:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949769#M413383</link>
      <description>Hi,&lt;BR /&gt;you should put in place something like this:&lt;BR /&gt;&lt;BR /&gt;###########################################################&lt;BR /&gt;# &lt;SERVER name=""&gt;-&lt;USERNAME&gt;&lt;BR /&gt;###########################################################&lt;BR /&gt;###########################################################&lt;BR /&gt;# BACKUP ON ....... ..:.. AM ... - ..: PM server time&lt;BR /&gt;###########################################################&lt;BR /&gt;&lt;BR /&gt;# ---------------------------------------------------------&lt;BR /&gt;# Daily&lt;BR /&gt;# ---------------------------------------------------------&lt;BR /&gt;# minute  hour  monthday  month  weekday (0=Sunday)  command&lt;BR /&gt;# 0-59    0-23  1-31      1-12   0-6&lt;BR /&gt;03 00 * * * crontab -l &amp;gt; file_cron&lt;BR /&gt;00 18 * * 1-5 stopappl &amp;gt;/tmp/stopapl.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;10 18 * * 1-5 remsh $(hostname) -l oracle -n stoporadb &amp;gt;/tmp/stoporadb.log 2&amp;gt;&amp;amp;1 &lt;BR /&gt;&lt;BR /&gt;#eof&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the stopradb is executed from the same user but connecting via remsh to oracle user.&lt;BR /&gt;Take care to load the profile and the right Oracle envirinemt in your script because crontab doesn't load the porofile for you.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;/USERNAME&gt;&lt;/SERVER&gt;</description>
      <pubDate>Wed, 04 Jan 2006 04:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949769#M413383</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2006-01-04T04:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949770#M413384</link>
      <description>i have worte this command under root user for testing:&lt;BR /&gt;&lt;BR /&gt;# cd /oracle &lt;BR /&gt;&lt;BR /&gt;#at -f ./stopappl -m aalshafiy@host -t 0601041500.00&lt;BR /&gt;&lt;BR /&gt;then i get a message to the root user:&lt;BR /&gt;&lt;BR /&gt;bad time specification</description>
      <pubDate>Wed, 04 Jan 2006 07:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949770#M413384</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-04T07:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949771#M413385</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The error message from 'at' is misleading.  The problem is that the '-m' switch cannot have an argument with it.  Instead of:&lt;BR /&gt;&lt;BR /&gt;# at -f ./stopappl -m aalshafiy@host -t 0601041500.00&lt;BR /&gt;&lt;BR /&gt;...you should have written:&lt;BR /&gt;&lt;BR /&gt;# at -f ./stopappl -m -t 0601041500.00&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 08:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949771#M413385</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-04T08:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949772#M413386</link>
      <description>the ./startappl it's a script and it's owned by oracle user not root and when i wrote under root user:&lt;BR /&gt;&lt;BR /&gt;# cd /oracale&lt;BR /&gt;&lt;BR /&gt;# at -f ./startappl -m -t 0601041610.00&lt;BR /&gt;&lt;BR /&gt;i get this tow messages sent to root:&lt;BR /&gt;&lt;BR /&gt;1- Cron: cron|at job completed: 1136416200.a 21091 a Wed Jan  4 16:10:02 MST 2006&lt;BR /&gt;&lt;BR /&gt;2- Not a terminal&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;stty: : Not a typewriter&lt;BR /&gt;&lt;BR /&gt; [3g&lt;BR /&gt;         H         H         H         H         H         H         H         H         H&lt;BR /&gt;You are running addbctl.sh version 115.3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Starting the database NAS ...&lt;BR /&gt;&lt;BR /&gt;SQL*Plus: Release 8.1.7.0.0 - Production on Wed Jan 4 16:10:00 2006&lt;BR /&gt;&lt;BR /&gt;(c) Copyright 2000 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;ERROR:&lt;BR /&gt;ORA-01031: insufficient privileges&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ORA-01031: insufficient privileges&lt;BR /&gt;&lt;BR /&gt;addbctl.sh: exiting with status 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You are running addlnctl.sh version 115.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Starting listener process NAS ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;addlnctl.sh: exiting with status 0&lt;BR /&gt;logout&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*************************************************&lt;BR /&gt;Cron: The previous message is the standard output&lt;BR /&gt;      and standard error of one of your at commands.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;how i can run the job?&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jan 2006 08:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949772#M413386</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-04T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949773#M413387</link>
      <description>Dear Ahmed,&lt;BR /&gt;&lt;BR /&gt;Some oracle scripts needs to be run only after logging in as oracle user, the .profile and the privilleges are customised for that.&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;&lt;BR /&gt;#su - &lt;ORACLE_ADMIN_USER&gt; -c &amp;lt; command_to_be_executed&amp;gt; &lt;BR /&gt;&lt;BR /&gt;as the COMMAND in the "at" command.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/ORACLE_ADMIN_USER&gt;</description>
      <pubDate>Wed, 04 Jan 2006 09:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949773#M413387</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-04T09:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: running commands at selected time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949774#M413388</link>
      <description>when i try to use at command under oracle user it give me this message:&lt;BR /&gt;&lt;BR /&gt;you are not authorized to use at. Sorry.&lt;BR /&gt;&lt;BR /&gt;how i can give authoriz to oracle user to use at and corntab to other users than root.</description>
      <pubDate>Wed, 04 Jan 2006 09:28:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-commands-at-selected-time/m-p/4949774#M413388</guid>
      <dc:creator>Ahmed M. AlShafiy</dc:creator>
      <dc:date>2006-01-04T09:28:31Z</dc:date>
    </item>
  </channel>
</rss>

