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

Daemon stops after 2 attempts #2

Open
jl2035 opened this issue Apr 18, 2017 · 0 comments
Open

Daemon stops after 2 attempts #2

jl2035 opened this issue Apr 18, 2017 · 0 comments

Comments

@jl2035
Copy link

jl2035 commented Apr 18, 2017

I'm not 100% sure on this as I've made some modifications myself, but I think it votes just two times then it stops.

If you want to execute a repeating task, why not do it this way?

function daemon() {
	regvote();
	setTimeout(daemon, $("#RefreshTime").val() * 1000);
}
daemon();
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