Fully working and finalized mail forwarding sync
This commit is contained in:
@@ -67,7 +67,12 @@ function setup() {
|
||||
.onChange()
|
||||
.create();
|
||||
|
||||
console.log("Setup complete. The 'syncForwardings' trigger has been installed.");
|
||||
// Verify and log the installed triggers so we can confirm the setup is correct
|
||||
const installedTriggers = ScriptApp.getProjectTriggers();
|
||||
console.log(`Setup complete. ${installedTriggers.length} trigger(s) are now active:`);
|
||||
for (const trigger of installedTriggers) {
|
||||
console.log(` - Function: ${trigger.getHandlerFunction()}, Event: ${trigger.getEventType()}, Source: ${trigger.getTriggerSource()}`);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user