I made a little utility that monitors the free disk space on a diskdrive. When it gets below a certain level; it sends an email so you can clean up some recordings.
It's an DOS-style executable, so you can add it to PostProcessing.bat to automatically check the free disk space after each recording.
Usage: disklimit.exe -disk <disk> -limit <limit> [-messagefile <filename>]
<disk> : The name of the disk you want to monitor. E.g. c or d
<limit> : The limit, that triggers the alarm. E.g. 10gb or 123421342134
<filename> : (optional) If you want an email to be send, you have to specify the emailparameters in a file. An example of this file is included.
Source-files are included
[ATTACHMENT NOT FOUND]
Update: version 1.42
- added a new mailing engine again
- fixed SMTP-authentication
- added support for SSL. Add |SSL:true to the messagefile
Update: version 1.3
- added a new mailing-engine, smtp.dll is not needed anymore
- added the possibility to set the server-port in the messagefile, see message-with-auth.txt for an example
- added the possibility to set the username and password for SMTP-authentication in the messagefile, see message-with-auth.txt for an example
Update: version 1.2
- in the messagefile, you can use %D to include the disk that is monitored in the email
- in the messagefile, you can send the email to multiple addresses by seperating them with a ;
Update: version 1.1
-Added support for monitoring network shares. E.g. disklimit.exe -disk \\server\share -limit 10gb
Hope you like it.
Remco
It's an DOS-style executable, so you can add it to PostProcessing.bat to automatically check the free disk space after each recording.
Usage: disklimit.exe -disk <disk> -limit <limit> [-messagefile <filename>]
<disk> : The name of the disk you want to monitor. E.g. c or d
<limit> : The limit, that triggers the alarm. E.g. 10gb or 123421342134
<filename> : (optional) If you want an email to be send, you have to specify the emailparameters in a file. An example of this file is included.
Source-files are included
[ATTACHMENT NOT FOUND]
Update: version 1.42
- added a new mailing engine again
- fixed SMTP-authentication
- added support for SSL. Add |SSL:true to the messagefile
Update: version 1.3
- added a new mailing-engine, smtp.dll is not needed anymore
- added the possibility to set the server-port in the messagefile, see message-with-auth.txt for an example
- added the possibility to set the username and password for SMTP-authentication in the messagefile, see message-with-auth.txt for an example
Update: version 1.2
- in the messagefile, you can use %D to include the disk that is monitored in the email
- in the messagefile, you can send the email to multiple addresses by seperating them with a ;
Update: version 1.1
-Added support for monitoring network shares. E.g. disklimit.exe -disk \\server\share -limit 10gb
Hope you like it.
Remco