Welcome to the KeepItPrinting.com forums! The doctor is IN.

Your business can be seen here! Prime spots available!

Please consider making a voluntary donation if you find these forums helpful. Thank you.
Home of the Kip Doctor!            REGISTER: In order to register for our forums please send an E mail to [email protected] stating what user                                                               name and password you would like. This is now required due to all the spambots that have been registering.
KeepItPrinting.com Forum Index KeepItPrinting.com
The "unofficial' and "unauthorized" KIP info site.


MONPATH1/REQUEST FOLDER FILLING UP

 
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP 3000 and 3100
View previous topic :: View next topic  
mark in vegas
doctor


Joined: 20 Oct 2010
Posts: 1852
Location: Las Vegas, NV

 PostPosted: Fri Mar 04, 2016 5:43 pm    Post subject: MONPATH1/REQUEST FOLDER FILLING UP Reply with quote Back to top

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
 
View user's profile Send private message
jezebel09
resident


Joined: 12 Jun 2013
Posts: 209

 PostPosted: Fri Mar 04, 2016 6:45 pm    Post subject: Reply with quote Back to top

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....

**************************************
 
View user's profile Send private message
mark in vegas
doctor


Joined: 20 Oct 2010
Posts: 1852
Location: Las Vegas, NV

 PostPosted: Fri Mar 04, 2016 7:04 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
mark in vegas
doctor


Joined: 20 Oct 2010
Posts: 1852
Location: Las Vegas, NV

 PostPosted: Fri Mar 04, 2016 7:08 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
jezebel09
resident


Joined: 12 Jun 2013
Posts: 209

 PostPosted: Mon Mar 07, 2016 12:03 pm    Post subject: Reply with quote Back to top

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....

**************************************
 
View user's profile Send private message
mark in vegas
doctor


Joined: 20 Oct 2010
Posts: 1852
Location: Las Vegas, NV

 PostPosted: Mon Mar 07, 2016 12:15 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
mark in vegas
doctor


Joined: 20 Oct 2010
Posts: 1852
Location: Las Vegas, NV

 PostPosted: Mon Mar 07, 2016 5:11 pm    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
jezebel09
resident


Joined: 12 Jun 2013
Posts: 209

 PostPosted: Mon Mar 07, 2016 11:20 pm    Post subject: Reply with quote Back to top

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....

**************************************
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KeepItPrinting.com Forum Index -> KIP 3000 and 3100 All times are GMT - 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum