Last active
September 26, 2017 08:14
-
-
Save emprit1988/30345d3340a97335050898d201a45c0a to your computer and use it in GitHub Desktop.
This file contains 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
cron.schedule('* * * * * *', function(){ | |
//runs every second | |
}); | |
cron.schedule('* * * * *', function(){ | |
//runs every minute | |
}); | |
cron.schedule('2 * * * * *', function(){ | |
//still runs every minute | |
}); | |
cron.schedule('4 * * * * *', function(){ | |
//still runs every minute | |
}); | |
cron.schedule('* */2 * * * *', function(){ | |
//runs every 2 minutes | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment