<?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: Cleanwork alllogs job reporting removed file when it has not removed it in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520981#M15266</link>
    <description>&lt;P&gt;Have you checked when the file was created? . It is possible that the file is being removed , and then recreated with the same name.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 20:20:09 GMT</pubDate>
    <dc:creator>34reqrwe</dc:creator>
    <dc:date>2018-12-12T20:20:09Z</dc:date>
    <item>
      <title>Cleanwork alllogs job reporting removed file when it has not removed it</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/519465#M15222</link>
      <description>&lt;P&gt;I'm running a batch file with the following command to clean up logs and log the information to a text document on user workstations. Workstations are Windows 10, and we are running SAS Foundation 9.4m5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\SASHome\SASFoundation\9.4\cleanwork.exe" /alllogs /verbose &amp;gt;&amp;gt;%logfile%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my log I'm finding most of the entries say the process is not active and the file is removed, but sometimes it shows the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: C:\Users\user\AppData\Roaming\SAS\LOGS\sasjava.3f74.46f5e1d2.log : The process cannot access the file because it is being used by another process.&lt;/P&gt;&lt;P&gt;REMOVED: C:\Users\user\AppData\Roaming\SAS\LOGS\sasjava.3f74.46f5e1d2.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've checked and this file looks like it was not removed, is there a way I can make the process report correctly about removing or not removing a log file when it is in use? My other job for the temporary directories appears to be reporting correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Carmen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2018 16:20:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/519465#M15222</guid>
      <dc:creator>carmencody</dc:creator>
      <dc:date>2018-12-07T16:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cleanwork alllogs job reporting removed file when it has not removed it</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520228#M15238</link>
      <description>&lt;P&gt;it sounds like you might be trying to write the results of cleanwork out to a log file, but that cleanwork is in fact trying to remove that same log file ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 03:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520228#M15238</guid>
      <dc:creator>34reqrwe</dc:creator>
      <dc:date>2018-12-11T03:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cleanwork alllogs job reporting removed file when it has not removed it</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520884#M15262</link>
      <description>&lt;P&gt;Hi Thanks for the response &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/209480"&gt;@34reqrwe&lt;/a&gt;. My log file does not have 'java' in the name. My question is just about the fact that it reports a log file is in use, and then it reports that the log file has been removed.&lt;/P&gt;&lt;P&gt;I'd rather it not say that it is removed when it is not - it will cause confusion for my users. I spot checked a couple files and they were not removed as reported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Carmen&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:13:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520884#M15262</guid>
      <dc:creator>carmencody</dc:creator>
      <dc:date>2018-12-12T16:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cleanwork alllogs job reporting removed file when it has not removed it</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520981#M15266</link>
      <description>&lt;P&gt;Have you checked when the file was created? . It is possible that the file is being removed , and then recreated with the same name.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/520981#M15266</guid>
      <dc:creator>34reqrwe</dc:creator>
      <dc:date>2018-12-12T20:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cleanwork alllogs job reporting removed file when it has not removed it</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/521037#M15270</link>
      <description>Yes, and I just double-checked another. File was last created 12/11/2018 12:56 PM, and the cleanwork job ran at 12/12/2018 6:00:01.62, when it says it removed the log. Other logs are getting removed, so it is working as designed. It is just reporting incorrectly.</description>
      <pubDate>Thu, 13 Dec 2018 00:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Cleanwork-alllogs-job-reporting-removed-file-when-it-has-not/m-p/521037#M15270</guid>
      <dc:creator>carmencody</dc:creator>
      <dc:date>2018-12-13T00:02:31Z</dc:date>
    </item>
  </channel>
</rss>

