title: Timed script not working
body: <p>I have a google script that I would like to run automatically every weekday at 8:11 am.  I have set my time zones to make sure that everything is correct, but it never seems to work correctly. I am still weak at scripting.  Does anyone see where I might have error in this script?</p>
  
  <pre><code>function myFunction(){
  try {
  var d = new Date();
  if (d.getDay() == 6 || d.getDay() == 0) return;
  if (d.getHours() != 08 &amp;&amp; d.getMinutes() != 11) return;  // This will stop the script from running unless it is 8:11am
  } catch (e) {
  MailApp.sendEmail("pthompson@ucc.on.ca", "Error report", e.message);
  }
  } 
  </code></pre>
  
  <p>Thank you,</p>
  
  <p>Paul</p>