I need some help in setting up a cron server in which the process will run every two minutes, but stop at 12am and restart running every two minutes at 6 am.
I have already set up it to run every two minutes. Any help please ?
new cronJob({
cronTime: '0 */2 * * * *',
onTick: function() {
//process run after every two minutes
},
start: true
});
via Indian_DEVELOPER
No comments:
Post a Comment