title: How to limit google script execution time to 1 minute?
body: <p>How do I set a time limit to end a function from running after 1 minute?</p>
  
  <p>Situation: i have a script that runs every 5 mins every day. My scripts are exceeding the daily computing time limit of 3 hours.</p>
  
  <p>So, I need to make a function that calls calls my functon A (very long so i won post it here), but only lets it run for 1 minute maximum, then ends.</p>
  
  <p>I have searched extensively but all the other solutions work with loops. My functon that is causing the timeout however is not a loop kind of function. I dont mind the function not being successfully completing. </p>