var schedule = require('node-schedule');
var syncTask = require('./tasks/sync');

// Update entries every 30 minutes
schedule.scheduleJob('0,30 * * * *', syncTask);

var
  schedule = require('node-schedule'),
  syncTask = require('./tasks/sync');

// Tasks to run on startup
syncTask();

// Update entries every 30 minutes and boot
schedule.scheduleJob('0,30 * * * *', syncTask);

Add sync to start up tasks
Add sync to start up tasks
