The script must implement the following AppleScript handler:
on didCompleteBackup(backupState, backupDate)
The returned parameters represent:
backupState | integer | -2 = backup cancelled -1 = backup failed 0 = backup skipped 1 = backup successfully done |
backupDate | AppleScript date | contains the time stamp of the completed backup. |
User interaction like display dialog is not allowed.
Note:
Be aware that the script is called from the local domain, not from the
currently active user. Calling the script in the home folder of a specific
user while the user is not logged in could cause unexpected behavior.