We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In elixir 1.6.4 with Erlang 20.3 on windows;
Run every minute task runs every 30 seconds i.e. twice per minute.
A run every 5 minutes task runs twice in the first minute, then doesn't run until 5 minutes later but then runs twice within the same minute again etc
defmodule Core.Scheduler do use Cronex.Scheduler require Logger
every 5, :minute do Logger.debug "Run every 5 minute task" end
every :minute do Logger.debug "Run every minute task" end end
The text was updated successfully, but these errors were encountered:
I meet the same issue. I use Elixir 1.9.4 (compiled with Erlang/OTP 22).
The below shows my workaround.
def deps do [{:cronex, github: "jbernardo95/cronex", ref: "345b57e14667a08280d790afdfbb359f467649df"}] end
config :cronex, ping_interval: 60000
Sorry, something went wrong.
set cronex ping_interval
cbf763c
This workaround works for me. Please refer to jbernardo95/cronex#14 (comment).
No branches or pull requests
In elixir 1.6.4 with Erlang 20.3 on windows;
Run every minute task runs every 30 seconds i.e. twice per minute.
A run every 5 minutes task runs twice in the first minute, then doesn't run until 5 minutes later but then runs twice within the same minute again etc
defmodule Core.Scheduler do
use Cronex.Scheduler
require Logger
every 5, :minute do
Logger.debug "Run every 5 minute task"
end
every :minute do
Logger.debug "Run every minute task"
end
end
The text was updated successfully, but these errors were encountered: