<?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: HPUX at command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121179#M676367</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;according to at(1):&lt;BR /&gt;&lt;BR /&gt;use either:&lt;BR /&gt;$ at 1445&lt;BR /&gt;banner hello 123 | mailx shailesh.solanki@email.com&lt;BR /&gt;^d&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;$ at -f mail_a_banner.sh 1445&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Jul 2008 10:56:08 GMT</pubDate>
    <dc:creator>Hemmetter</dc:creator>
    <dc:date>2008-07-23T10:56:08Z</dc:date>
    <item>
      <title>HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121178#M676366</link>
      <description>&lt;!--!*#--&gt;Hello All, &lt;BR /&gt;&lt;BR /&gt;I am having some problems uaing the at command, the command I am using is the following: &lt;BR /&gt;&lt;BR /&gt;banner hello 123 | mailx shailesh.solanki@email.com | at 1245&lt;BR /&gt;&lt;BR /&gt;as soon as I hit enter the command runs, regardless of the time but the command &lt;BR /&gt;&lt;BR /&gt;at -l &lt;BR /&gt;1216812600.a    Wed Jul 23 12:45:00 2008&lt;BR /&gt;&lt;BR /&gt;will show that the job still exists and is scheduled to run at 12:45, but then does not run at 12:45. &lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas on what is happenning? and how I can stop the job running instantly. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Shailesh Solanki &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121178#M676366</guid>
      <dc:creator>Shailesh Solanki</dc:creator>
      <dc:date>2008-07-23T10:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121179#M676367</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;according to at(1):&lt;BR /&gt;&lt;BR /&gt;use either:&lt;BR /&gt;$ at 1445&lt;BR /&gt;banner hello 123 | mailx shailesh.solanki@email.com&lt;BR /&gt;^d&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;$ at -f mail_a_banner.sh 1445&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jul 2008 10:56:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121179#M676367</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2008-07-23T10:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121180#M676368</link>
      <description>As HGH says, you have the wrong format.&lt;BR /&gt;In fact, you should put your commands in a file to keep it simple.&lt;BR /&gt;What you have done is sent a banner to mailx and this gets mailed.&lt;BR /&gt;The output of mailx is then sent to at(1) to be done at 1245.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;will show that the job still exists and is scheduled to run at 12:45, but then does not run at 12:45.&lt;BR /&gt;&lt;BR /&gt;Sure it does.  Look inside the file /var/spool/cron/atjobs/ 1216812600.a to see what it is really doing.</description>
      <pubDate>Wed, 23 Jul 2008 12:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121180#M676368</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-23T12:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121181#M676369</link>
      <description>banner hello 123 | mailx shailesh.solanki@email.com | at 1245&lt;BR /&gt;&lt;BR /&gt;banner hello 123 is executed and the output is sent to mailx.&lt;BR /&gt;&lt;BR /&gt;Mailx executes and the output of that command is then sent to the at command.&lt;BR /&gt;&lt;BR /&gt;Which is why the email is sent immediately.&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;echo "banner hello 123 | mailx shailesh.solanki@email.com" | at 1245&lt;BR /&gt;&lt;BR /&gt;Then hopefully at 1245 the following command will be run :&lt;BR /&gt;&lt;BR /&gt;banner hello 123 | mailx shailesh.solanki@email.com&lt;BR /&gt;&lt;BR /&gt;You may want to put the full path to banner and mailx in the statement.&lt;BR /&gt;&lt;BR /&gt;Don't have a system to test this right now...but I think it may work :)</description>
      <pubDate>Wed, 23 Jul 2008 12:41:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121181#M676369</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-07-23T12:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121182#M676370</link>
      <description>"banner hello 123 | mailx shailesh.solanki@email.com | at 1245"&lt;BR /&gt;&lt;BR /&gt;think about what this says:&lt;BR /&gt;&lt;BR /&gt;execute banner command, send the results to the pipe&lt;BR /&gt;execute mailx command using piped input and send the *output* of mailx to pipe (which isn't the email)&lt;BR /&gt;&lt;BR /&gt;so the mail gets sent, and at 1245 "at" may try to run the "command" specified by the output of mailx...check the at-job itself to see for sure.</description>
      <pubDate>Wed, 23 Jul 2008 12:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121182#M676370</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-07-23T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121183#M676371</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Thanks to Everyone who has replied, the best solution for me was the following &lt;BR /&gt;&lt;BR /&gt;at -f /home/shailesh/123 1500&lt;BR /&gt;&lt;BR /&gt;I had had to script what I needed to do but this worked best. &lt;BR /&gt;&lt;BR /&gt;and all the other replies help me to understand what was happening. &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Shailesh</description>
      <pubDate>Wed, 23 Jul 2008 12:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121183#M676371</guid>
      <dc:creator>Shailesh Solanki</dc:creator>
      <dc:date>2008-07-23T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121184#M676372</link>
      <description>Got the chance to test.  This works...but had to add -s to include a subject for the email.  The command wouldn't work without it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "/usr/bin/banner test | mailx -s 'test' my.account@aniceplacetowork.com" | at now</description>
      <pubDate>Wed, 23 Jul 2008 13:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121184#M676372</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-07-23T13:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: HPUX at command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121185#M676373</link>
      <description>&amp;gt;Thanks to everyone who has replied,&lt;BR /&gt;&lt;BR /&gt;If our answers were helpful, please read the following about assigning points:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;And about reopening threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;</description>
      <pubDate>Wed, 23 Jul 2008 13:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hpux-at-command/m-p/5121185#M676373</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-23T13:43:48Z</dc:date>
    </item>
  </channel>
</rss>

