Question

I've found some Google AppScript code I'd like to mash-up which plugs into the Twitter API and e-mails me certain tweets: http://blog.programmableweb.com/2010/10/01/convert-tweets-to-emails-with-google-appsscript/

Everything makes sense except the finally instruction "configure a trigger in the Google AppsScript editor."

I'm not entirely sure what that means. Can I just put something like this to run the script every minute?

window.setInterval(function(){
  twitter2email();
}, 60000);

Any help appreciated, I'm sure there's a really simple answer.

Was it helpful?

Solution

In the script editor, you'll notice there is a Menu item called "Triggers" in the main menu bar. If you choose the "Current Triggers" option from the "Triggers" drop down menu, you'll have the option of adding a new trigger and specifying the parameters.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top