Parameters:
scheduler.attachEvent("onEventCreated", function(event_id,event_object){ //any custom logic here });