Does anybody have a tool for compressing/clearing/backing up the PcVue log files folder?
Nico, didn't you have such kind of tool or script once?
Since PcVue 11.0 we have project level settings for the log files folder's max size, but for projects using older versions it could still be useful...
Hi Armin,
No sorry i don't have any tool for that purpose.
But what kind of behaviour are you looking for?
But what kind of behaviour are you looking for?
Just something that takes care of the size of the log files folder and prevents the folder from consuming too much disk space (by deleting the oldest files or exporting them).
I remember that we once had issues with a version 9.0 or version 10.0 customer project, which was running PcVue in a Remote Desktop Services environment. In this project the size of the log files folder literally exploded (up to >10 GB of traces), due to the fact that all the stations wrote their traces into the same log files folder. The partition on which PcVue was running was small in size.
Since we are currently taking into operation a project that we are engineering by ourselves (PcVue GmbH) and which is also running PcVue 10.0, I thought it would be a good idea to implement preemptive measures in this regard. As I have seen the hds.log file alone has already grown to more than 2.5 GB.
Sorry no tools for that 🙁
At least you could make a SPR requesting a control of hds.ini file.
I think I did it already (not sure..) but you could insist...
Armin,
I found this:
http://ss64.com/nt/forfiles.html
also
http://www.reimagery.com/fsfd/filutil2.htm#delete
By the way another technique (less elegant) is to use Robocopy
1. Create temp folder
2. Use Robocopy to move files older than xx days (/minage option) and/or bigger than xx size (/Min option) to Temp folder
3. Delete temp folder
Great! Thanks, Nico!
I think the Robocopy thing was the hint that I originally asked for, but I couldn't remember the name.
Hello,
there are a lot of tools to schedule delete (or move, rename, ...) operations.
e.g:
http://www.z-cron.de/ (not free for non private use)
or
http://lifehacker.com/341950/belvedere-automates-your-self-cleaning-pc (open-source)
Thanks Johannes,
Belvedere looks good.
Did you try it?
Yes, I tested it, it works fine. the only thing is the missing build in ability to run as service.


