Rank: Administration
Groups: Administration
Joined: 10/8/2008(UTC) Posts: 190  Was thanked: 1 time(s) in 1 post(s)
|
If your harddisk on the server is almost full and it is because of to many IIS Logfiles It's easy to delete all old logfiles at once using this line in cmd: Code:forfiles /P D:\Logfiles /M *.log /D -30 /C "cmd /c del @file" /s
Make sure the path for your logfile is correct. -30 means remove all logfiles older then 30 days. Hope this will help some of you.
|
|
|
|
Rank: Administration
Groups: Administration
Joined: 10/8/2008(UTC) Posts: 190  Was thanked: 1 time(s) in 1 post(s)
|
Adding this to run once a day by you taskschedular will take care of old incorrect mails Code:forfiles /P C:\inetpub\mailroot\Badmail /M * /D -30 /C "cmd /c del @file" /s
forfiles /P C:\inetpub\mailroot\Drop /M * /D -30 /C "cmd /c del @file" /s
This only applies if you are using local smtp.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Sienn Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close