Skip to main content
Participant
May 28, 2010
Question

main.asc server side script not working

  • May 28, 2010
  • 1 reply
  • 1172 views

Here the simple script i put at server seem like is not working also enclosed screenshot for the adminconsole

my server side file main.asc save at /opt/adobe/fms/application/playtechmnflive/

my doing FMS edge server.

--------------------------------------

application.allowDebug= true;

application.onAppStart = function(){
        this.eventTime = (new Date().valueOf() + 10000);

        this.timer_int = setInterval(checkForEvent, 1000, this);

}

function checkForEvent(app){
        var now = new Date().valueOf();

        if(now > app.eventTime) {
                trace("something");
        }else{
                trace("damn");
        }
}

-------------------

    This topic has been closed for replies.

    1 reply

    Petro_O__Bochan
    Inspiring
    May 28, 2010

    The script is fine (at least i assume u want the timer working with no errors). The thing is that u can't put any code nor apps on the edge node. Put it on the origin and hook up your edge to that origin.