6 Replies Latest reply on Feb 7, 2011 1:32 PM by Starlover_jacob

    call function once a day,minute,hour

    Starlover_jacob Level 1

      Hello,

       

      Is there a way to call a function in flex/air once a day or at a certain time, or every minute or hour?

       

      Or should i create a scheduled task in windows that starts my air application, executes the functions i need executed, and after its done automatically exit the application?

      What i want to do is create a air application that checks my online database for new records every X time and print that data automatically. Or check my e-mail every given time and print new messages.

       

      In other words, is there a way to run code once every given time, or a nice solution to achieve this?

       

      Please some help or brainstorm for some ideas.

      Greets, J.