LastFixup (NotesDatabase - JavaScript™)
Read-only. The date that a database was last checked by the Fixup task.
Defined in
NotesDatabaseSyntax
getLastFixup() : NotesDateTime
Usage
The database must be open to use this property.Examples
This agent button the last fixup date for the local databases.requestScope.status = "Last fixup dates:";
var dbdir:NotesDbDirectory = session.getDbDirectory(null);
var db:NotesDatabase = dbdir.getFirstDatabase(NotesDbDirectory.DATABASE);
while (db != null) {
// Database must be open
try {
db.open();
} catch(e) {
requestScope.status += "\n\t" + db.getFilePath() + " - could not open";
continue;
}
var fix:NotesDateTime = db.getLastFixup();
requestScope.status += "\n\t" + db.getFilePath() + fix.getLocalTime();
db = dbdir.getNextDatabase();
}