rotem 4 Posted July 20, 2012 Report Share Posted July 20, 2012 Basically i made a bot that runs in infinite loop loading and liking pictures. Its eating up about 10 gbs every couple of hours. Ccleaner can't catch this. How to get rid of that mess guys? My client isn't happy.I saw that thread other day with some .bat file that clears awesomnium cache. Help? Quote Link to post Share on other sites
rotem 4 Posted July 21, 2012 Author Report Share Posted July 21, 2012 No, i'm talking about disc space. Its not clearing up temp folder on client's computer. Quote Link to post Share on other sites
rotem 4 Posted July 21, 2012 Author Report Share Posted July 21, 2012 I'm not downloading files on purpose. Talking about awesomnium cache folder here. It stores it in weird location that ccleaner on my winxp doesnt reach. And cache comes to 50gbs after some 24 hours run. Quote Link to post Share on other sites
Praney Behl 314 Posted July 21, 2012 Report Share Posted July 21, 2012 I know what you are referencing to. I have been in your shoes many times. Unfortunately that is how Ubot works. You can run a thread to in your bot and clear that cache every X no. of secs. I had it built in my Bot Wiki Master Blaster as well that is referenced in the above post. Hope it helps.Praney Quote Link to post Share on other sites
rotem 4 Posted July 21, 2012 Author Report Share Posted July 21, 2012 Thread has to relogin. I saw somewhere here on forum batch file that finds those awesomium folders and deletes them. can't find it now Quote Link to post Share on other sites
Praney Behl 314 Posted July 21, 2012 Report Share Posted July 21, 2012 I think I did some batch files but they were to delete unwanted UbotBrowser instances.But you may be right. Good luck finding them using Forum search. Quote Link to post Share on other sites
k1lv9h 76 Posted July 22, 2012 Report Share Posted July 22, 2012 Hi, Here is the batch file I wrote to find the Ubot Studio Temp directory. You can add the del command if you want to in :ubotlocalstoragefile section. That is where I decide if the directory is a Ubot Studio Temp directory. @echo off & cls setlocal EnableDelayedExpansion for /f "delims=" %%X in ('echo %0') do ( set cmddrive=%%~dX echo CMD File Drive: !cmddrive! set cmdpath=%%~pX echo CMD File Path: !cmdpath! set cmdfilename=%%~nX echo CMD File Name: !cmdfilename! set cmdfileext=%%~xX echo CMD File Ext: !cmdfileext! echo --- --- ) dir /B /S /A:D %temp%\tmp*.tmp >.\%cmdfilename%-tempdirlist.txt FOR /F "tokens=*" %%A IN (.\%cmdfilename%-tempdirlist.txt) DO ( set checkifdir=%%A rem echo %%A call :checkfordir ) rem skip code below goto :exiting :checkfordir pushd "%checkifdir%" 2>nul if errorlevel 1 ( rem echo this is not a dir %checkifdir% ) else ( rem echo this is a dir %checkifdir% popd call :findcookiesfile ) exit /b :findcookiesfile if exist "%checkifdir%\Default\Cookies" ( rem echo this dir %checkifdir% has \Default\Cookies file ) else ( rem echo this dir %checkifdir% has no \Default\Cookies file ) pushd "%checkifdir%\Default\Local Storage" 2>nul if errorlevel 1 ( rem echo this dir %checkifdir% has no \Default\Local Storage directory ) else ( rem echo this dir %checkifdir% has \Default\Local Storage directory popd call :ubotlocalstoragefile ) ) exit /b :ubotlocalstoragefile type "%checkifdir%\Default\Local Storage\http_www.ubotstudio.com_0.localstorage" 1>NUL 2>NUL if errorlevel 1 ( rem echo missing file "%checkifdir%\Default\Local Storage\http_www.ubotstudio.com_0.localstorage" ) else ( echo this is a dir %checkifdir% if exist "%checkifdir%\Default\Cache" ( echo this dir %checkifdir% has \Default\Cache directory rem del "%checkifdir%\Default\Cache\*" ) echo this dir %checkifdir% has \Default\Cookies file echo this dir %checkifdir% has \Default\Local Storage directory echo found file "%checkifdir%\Default\Local Storage\http_www.ubotstudio.com_0.localstorage" ) exit /b :exiting del ".\%cmdfilename%-tempdirlist.txt" endlocal EnableDelayedExpansion Kevin Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.