How to make a function that works every 15 minutes
let timer = setInterval(function() {
// code
console.log('done');
}, 1000*60*15); // time is in milliseconds. 1000 ms * 60 sec * 15 min
Are there any code examples left?
New code examples in category Javascript