Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

140
Views
Trigger URL WebApp every specific Time

I want to trigger URL opened in new tab every 10 minutes I tried with this function

function openTab() {

var url = 'https://script.google.com/macros/s/...................../exec';

var html = "<script>window.open('" + url + "');google.script.host.close();</script>";

var userInterface = HtmlService.createHtmlOutput(html);

SpreadsheetApp.getUi().showModalDialog(userInterface, 'Open Tab');

}

but it can't be triggered on simple trigger or installable trigger

I searched a lot but i'm not sure to execute this

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Time-Driven triggers can't open dialogs and sidebars, the alternative is to first open a sidebar to put in it client-side code that will open the dialog.

Related

  • Run script timerbased clientside [GAS]
  • Google Sheets custom sidebar: How to display a current cell value in sidebar without reload the sidebar?
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!