Hello any help would be greatly appricated.
Has anyone wrote a flow service that checks the disk space on a server which would be on the network of course and once it reached at a certain point sent out and alert?
Hello any help would be greatly appricated.
Has anyone wrote a flow service that checks the disk space on a server which would be on the network of course and once it reached at a certain point sent out and alert?
If you are on Java 6, File class has a method called getFreeSpace() with which you can check if you have enough space left, and with JavaMail you can send the emails.
But I don’t recommeded this approach for checking the disk size. Trying using native tools from OS like cron if you are on UNIX.
Jiten