|
|
|
|
|
|
|
|
|
|
mark in vegas doctor
Joined: 20 Oct 2010 Posts: 1852 Location: Las Vegas, NV |
Posted: Fri Mar 04, 2016 5:43 pm Post subject: MONPATH1/REQUEST FOLDER FILLING UP |
|
|
Low volume customer, KIP 3002 running 7.2.348. Any idea why this folder is filling up with jobs and doesn't empty on it's own? _________________ Regards,
Mark
RVN 68-69
It's so nice to be insane
No one asks you to explain |
|
|
|
|
|
|
|
|
|
|
jezebel09 resident
Joined: 12 Jun 2013 Posts: 209
|
Posted: Fri Mar 04, 2016 6:45 pm Post subject: |
|
|
Within this folder should be a file named 'done.kip' or 'done.ips'. If that isn't there, then Unattend doesn't know that the job ticket is complete and will not do anything with it. _________________ **************************************
Ockham's razor - usually is the best answer....
************************************** |
|
|
|
|
|
|
|
|
|
|
mark in vegas doctor
Joined: 20 Oct 2010 Posts: 1852 Location: Las Vegas, NV |
Posted: Fri Mar 04, 2016 7:04 pm Post subject: |
|
|
Any idea what generates the done file? _________________ Regards,
Mark
RVN 68-69
It's so nice to be insane
No one asks you to explain |
|
|
|
|
|
|
|
|
|
|
mark in vegas doctor
Joined: 20 Oct 2010 Posts: 1852 Location: Las Vegas, NV |
Posted: Fri Mar 04, 2016 7:08 pm Post subject: |
|
|
Tell me what you think of this script...
On Error Resume Next
Dim NumberOfDays
Dim fso
Dim startFolder
dim subFolder
NumberOfDays = 3 'anything older than this many days will be removed
Set fso = CreateObject("Scripting.FileSystemObject")
Set startFolder = fso.GetFolder("D:\Monpath1\History") 'Cache Location
loopThruSubFolders startFolder
Sub loopThruSubFolders(Folder)
For Each subFolder in Folder.SubFolders
If DateDiff("d", subFolder.Datelastmodified,Now) > NumberOfDays Then
subFolder.delete true
End If
Next
End Sub _________________ Regards,
Mark
RVN 68-69
It's so nice to be insane
No one asks you to explain |
|
|
|
|
|
|
|
|
|
|
jezebel09 resident
Joined: 12 Jun 2013 Posts: 209
|
Posted: Mon Mar 07, 2016 12:03 pm Post subject: |
|
|
This looks ok to me.
In order to find out what is creating the 'bad' or incomplete job ticket, we'd have to examine the KIPCode.IPS or KIPCode.KIP file. If you can post the contents of one or a few, we should be able to figure out what is creating the files. _________________ **************************************
Ockham's razor - usually is the best answer....
************************************** |
|
|
|
|
|
|
|
|
|
|
mark in vegas doctor
Joined: 20 Oct 2010 Posts: 1852 Location: Las Vegas, NV |
Posted: Mon Mar 07, 2016 12:15 pm Post subject: |
|
|
I expect to be on site sometime this week. _________________ Regards,
Mark
RVN 68-69
It's so nice to be insane
No one asks you to explain |
|
|
|
|
|
|
|
|
|
|
mark in vegas doctor
Joined: 20 Oct 2010 Posts: 1852 Location: Las Vegas, NV |
Posted: Mon Mar 07, 2016 5:11 pm Post subject: |
|
|
Does XP embedded include the task scheduler or does it have to be run command line? _________________ Regards,
Mark
RVN 68-69
It's so nice to be insane
No one asks you to explain |
|
|
|
|
|
|
|
|
|
|
jezebel09 resident
Joined: 12 Jun 2013 Posts: 209
|
Posted: Mon Mar 07, 2016 11:20 pm Post subject: |
|
|
mark in vegas wrote: |
Does XP embedded include the task scheduler or does it have to be run command line? |
From Start -->Run type 'taskschd.msc'. If it launches, then you have it. It's been a bit, but I think it's there. _________________ **************************************
Ockham's razor - usually is the best answer....
************************************** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|