'use strict';

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

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

  frequency: {
    schedule: "once"
  },

  tick: function() {
    console.log("Timer tick");
  }
});
'use strict';

module.exports = function(backendless) {

  return backendless.serverCode.timer({
    frequency: {
      schedule: "daily",
      repeat  : {"every": 1}
    },

    execute: function() {
      console.log("Timer tick");
    }
  });
};

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