<?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: redirecting output from crontab script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869373#M398372</link>
    <description>Thanks&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Nov 2004 09:19:58 GMT</pubDate>
    <dc:creator>MikeL_4</dc:creator>
    <dc:date>2004-11-08T09:19:58Z</dc:date>
    <item>
      <title>redirecting output from crontab script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869370#M398369</link>
      <description>I am trying to create a log file from an ignite recovery script with the date appended to it with following crontab entry:&lt;BR /&gt;# Ignite Backup&lt;BR /&gt;00 06 * * 0 /root/make_net_recovery.ksh &amp;gt; /root/`hostname`_net_recovery.log.`dat&lt;BR /&gt;e "+%Y%m%d_%H%M"` 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;It created a log file with the servername_net_recovery.log. but did not append the date to the end as I had hoped.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 08:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869370#M398369</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2004-11-08T08:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting output from crontab script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869371#M398370</link>
      <description>Hi Mike,&lt;BR /&gt;&lt;BR /&gt;May be you should put the command in a specific script :&lt;BR /&gt;H1=${hostname}&lt;BR /&gt;D1=$(date "+%Y%m%d_%H%M"}&lt;BR /&gt;LOGFILE=/root/$H1_net_recovery.log$D1&lt;BR /&gt;then your command&lt;BR /&gt;&lt;BR /&gt;Alos ensure that your PATH has access to all commands.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 08 Nov 2004 08:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869371#M398370</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-11-08T08:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting output from crontab script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869372#M398371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Escape % character. For ex., date +\%Y\%m etc.,&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 08 Nov 2004 08:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869372#M398371</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-08T08:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: redirecting output from crontab script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869373#M398372</link>
      <description>Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 09:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirecting-output-from-crontab-script/m-p/4869373#M398372</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2004-11-08T09:19:58Z</dc:date>
    </item>
  </channel>
</rss>

