/**
 * Created by kyle on 3/2/15.
 */
SyncedCron.add({
    name: "Load Data From HN API",
    schedule: function (parser){
        return parser.text("every hour");
    },
    job: function() {
        Meteor.call('getCurrentPosts');
    }
});

SyncedCron.start();