<?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: exec problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333811#M189529</link>
    <description>It does exist, should I remove it? &lt;BR /&gt;I'm changing the permissions to see if that solves it thanks! &lt;BR /&gt;John H. &lt;BR /&gt;</description>
    <pubDate>Fri, 16 Jul 2004 09:56:15 GMT</pubDate>
    <dc:creator>John Henrikson</dc:creator>
    <dc:date>2004-07-16T09:56:15Z</dc:date>
    <item>
      <title>exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333806#M189524</link>
      <description>I've got a line in my crontab which suddenly isn't working correctly: &lt;BR /&gt;find /tmp/v_*.log ! -newer /tmp/last -exec rm {} ; touch /tmp/last &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;It is giving me the error: &lt;BR /&gt;find: cannot access /tmp/last&lt;BR /&gt;&lt;BR /&gt;Any ideas appreciated! &lt;BR /&gt;thanks! &lt;BR /&gt;John H. &lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2004 09:36:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333806#M189524</guid>
      <dc:creator>John Henrikson</dc:creator>
      <dc:date>2004-07-16T09:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333807#M189525</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;How aobut permissions on /tmp/last?  Since you touch it each time, has your umask changed?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 16 Jul 2004 09:40:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333807#M189525</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-07-16T09:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333808#M189526</link>
      <description>is /tmp/last existing? how about the permission?</description>
      <pubDate>Fri, 16 Jul 2004 09:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333808#M189526</guid>
      <dc:creator>nibble</dc:creator>
      <dc:date>2004-07-16T09:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333809#M189527</link>
      <description>It does exist, I'm changing the permissions to see if that solves it thanks! &lt;BR /&gt;John H. &lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2004 09:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333809#M189527</guid>
      <dc:creator>John Henrikson</dc:creator>
      <dc:date>2004-07-16T09:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333810#M189528</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;/tmp/last is not there when script runs&lt;BR /&gt;&lt;BR /&gt;That is the only cause&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Find format&lt;BR /&gt; find / \( -name a.out -o -name '*.o' \) -atime +7 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt;You do not have \; so also problem&lt;BR /&gt;&lt;BR /&gt;                Steve Steel</description>
      <pubDate>Fri, 16 Jul 2004 09:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333810#M189528</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-07-16T09:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333811#M189529</link>
      <description>It does exist, should I remove it? &lt;BR /&gt;I'm changing the permissions to see if that solves it thanks! &lt;BR /&gt;John H. &lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2004 09:56:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333811#M189529</guid>
      <dc:creator>John Henrikson</dc:creator>
      <dc:date>2004-07-16T09:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: exec problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333812#M189530</link>
      <description>hai,&lt;BR /&gt;&lt;BR /&gt; If you are not having the file /tmp/last then find command cannot access the file and validate the /tmp/v*.log file weather it is not newer than the /tmp/last file.&lt;BR /&gt;&lt;BR /&gt; Create the file first with touch then use the find command as like to validate the /tmp/v_*.log,&lt;BR /&gt;&lt;BR /&gt; touch /tmp/last; find /tmp/v*.log ! - newer /tmp/last -exec rm {} &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt; It will work now.</description>
      <pubDate>Fri, 16 Jul 2004 10:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exec-problem/m-p/3333812#M189530</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-16T10:11:33Z</dc:date>
    </item>
  </channel>
</rss>

