Skip to content

Instantly share code, notes, and snippets.

@AyoAlfonso
Created November 21, 2017 17:12
Show Gist options
  • Save AyoAlfonso/9be429778b2d5e956edbbf75cfa68337 to your computer and use it in GitHub Desktop.
Save AyoAlfonso/9be429778b2d5e956edbbf75cfa68337 to your computer and use it in GitHub Desktop.
cron-test initial server
// We add Dependencies
var express = require('express');
var CronJob = require('cron').CronJob;
var cronReport = require('./controller/cron');
// App definition
var app = express();
var portNum = 3000;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment