Announcement

Collapse
No announcement yet.

postMain() - emailing within postMain()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • postMain() - emailing within postMain()

    function postMain(){
    debugPrint("post main");
    Alert.email("system going offline",true);
    }

    Should the above work on shutdown? It does not seem to do anything.

  • #2
    Re: postMain() - emailing within postMain()

    eparks
    Your code example appears to be working fine at my end (see enclosed screenshot of the email it generated)
    Alex




    Originally posted by eparks
    function postMain(){
    debugPrint("post main");
    Alert.email("system going offline",true);
    }

    Should the above work on shutdown? It does not seem to do anything.

    Comment


    • #3
      Can I reference EFS global variables or functions within postMain?

      I.e.

      function postMain(){
      Alert.email(getInterval()+" system going offline",true);
      }

      Comment

      Working...
      X