Posts

Create Time-driven Trigger in Gmail Add-on using Google Apps Script

Image
Time-driven triggers As per the definition from Google developers this link , " A time-driven trigger (also called a clock trigger ) is similar to a  cron job  in Unix. Time-driven triggers let scripts execute at a particular time or on a recurring interval, as frequently as every minute or as infrequently as once per month. "   So let's see how to create a Time-driven trigger using Google Apps Script(GAS) for a project. If you are new to Google Apps Script follow these links: https://developers.google.com/apps-script/overview https://developers.google.com/apps-script/articles/tutorials Set up:   Visit  script.google.com  to open the Script editor.   Create a New Script with any name you want. Here I am using MyApp . The first file with sample myFunction you can see is Code.gs   Now go to View -> Show manifest file , it will display the manifest file appsscript.json , This file has a basic project information that Apps Script needs to