Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

later setInterval can't fire time? #222

Open
hetz opened this issue Dec 21, 2017 · 0 comments
Open

later setInterval can't fire time? #222

hetz opened this issue Dec 21, 2017 · 0 comments

Comments

@hetz
Copy link

hetz commented Dec 21, 2017

Please help me. I try every is ok , but I try time.

var later = require("later")
// var sched = later.parse.recur().every(5).second();
var sched = later.parse.recur().on('11:59:50').time();
var t = later.setInterval(test, sched);

console.log('server machine time:',new Date());
function test() {
    console.log(new Date());
}

https://runkit.com/htz/later-setinterval-can-t-run-time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant