Geoff's documentation for the fileWriter ECMA function works perfectly:

function appendToFile(fileName, text)
{
var fileWriter = new java.io.FileWriter(fileName, true);
try
{
fileWriter.write(text);
fileWriter.write("\n");
}
finally
{
fileWriter.close();
}
}

I'd like to write a job in IDM to read back these values (into a local
variable) every Sunday night and then use the 'send email from template'
function to pass the log info via email. Anyone ever done this via ECMA?


--
plummb
------------------------------------------------------------------------
plummb's Profile: http://forums.novell.com/member.php?userid=15414
View this thread: http://forums.novell.com/showthread.php?t=408340