'use strict';

/**
 * Module dependencies.
 */
var cron = require('cron'),
	pingdom = require('pingdom-api');

exports.init = function(){
	console.log('initttttttt');
};
'use strict';

/**
 * Module dependencies.
 */
var CronJob = require('cron').CronJob,
	pingdom = require('pingdom-api');

exports.init = function(){

	var job = new CronJob({
	  cronTime: '0 */1 * * * *',
	  onTick: function() {
	    console.log('Tick!');
	  },
	  start: false,
	  timeZone: 'Europe/Amsterdam'
	});
 	// job.start();
};
Add a cronjob that runs every minute but dont start it yet
Add a cronjob that runs every minute but dont start it yet
