Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to run a function everyday at 11 PM?

$
0
0

Currently the function runs every day at 11pm but it runs twice. I'm only needing it to run once though.

function functionsToRun (){  appendValues();  clearCells();  addZeros();}function createTimeDrivenTriggers() {  // Trigger everyday at 11PM  ScriptApp.newTrigger('functionsToRun')      .timeBased()      .atHour(23)      .everyDays(1)      .create();}

Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>