coderbunker / gas

G-Suite Google Apps Script (GAS) used with Coderbunker documents
3 stars 0 forks source link

Automatical welcome email - trigger #74

Closed Sunying-RONG closed 5 years ago

Sunying-RONG commented 5 years ago

there is no difference between create a trigger in the console with GUI, and creating installable trigger in code: https://developers.google.com/apps-script/guides/triggers/installable and https://developers.google.com/apps-script/reference/script/spreadsheet-trigger-builder#onChange(). If that's the case, then should use code to create trigger instead of using GUI. So that others can get the idea that this script need a trigger. (But notice that the trigger should only create once, in case there are multiple triggers doing the same thing)