'use strict';

var CodeRunner = require('../../lib');

module.exports = CodeRunner.timer({
  name: "Fixture Timer",

  frequency: {
    schedule: "once"
  },

  tick: function() {
    console.log("Timer tick");
  }
});
@@ -12,110 +12,92 @@
 ';%0A%0A
-var CodeRunner = require('../../lib');%0A%0Amodule.exports = CodeRunner.timer(
+module.exports = function(backendless) 
 %7B%0A
+%0A
   
-name: %22Fixture Timer%22,%0A%0A
+return backendless.serverCode.timer(%7B%0A  
   fr
@@ -107,16 +107,18 @@
 ency: %7B%0A
+  
     sche
@@ -128,26 +128,64 @@
 e: %22
-once%22%0A
+daily%22,%0A      repeat  : %7B%22every%22: 1%7D%0A 
   
+ 
 %7D,%0A%0A  
-tick
+  execute
 : fu
@@ -195,16 +195,18 @@
 ion() %7B%0A
+  
     cons
@@ -234,9 +234,17 @@
 ;%0A  
-%7D%0A%7D);
+  %7D%0A  %7D);%0A%7D;%0A

fix (fixture) change fixture in accordance to latest code changes