Last active
July 8, 2019 16:17
-
-
Save endeepak/eb1f374cc9498abf56d7248f6a80afbc to your computer and use it in GitHub Desktop.
NodeJS scheduled task skeleton
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var schedule = require('node-schedule'); | |
schedule.scheduleJob('30 * * * *', function(){ | |
doTheJob(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment