zhongwencool / ecron Goto Github PK
View Code? Open in Web Editor NEWA lightweight/efficient cron-like job scheduling library for Erlang.
License: Apache License 2.0
A lightweight/efficient cron-like job scheduling library for Erlang.
License: Apache License 2.0
Hi there,
congrats for this package, I like it's implementation. However, I'm an Elixir developer, and I'm struggling a bit understanding the config. Maybe I can achieve it anyway with some trial-error manual syntax conversion, however it'd be very helpful to have an example to follow/copy in README.
If someone else doesn't come before me, I'll create a PR ;-)
with a new phoenix project
Failed to use "telemetry" (version 1.1.0) because
ecron (version 0.6.0) requires ~>0.4.0
ecto_sql (version 3.9.0) requires ~> 0.4.0 or ~> 1.0
phoenix (version 1.6.13) requires ~> 0.4 or ~> 1.0
phoenix_live_view (version 0.17.12) requires ~> 0.4.2 or ~> 1.0
swoosh (version 1.8.0) requires ~> 0.4.2 or ~> 1.0
telemetry_metrics (version 0.6.1) requires ~> 0.4 or ~> 1.0
telemetry_poller (version 1.0.0) requires ~> 1.0
mix.lock specifies 1.1.0
** (Mix) Hex dependency resolution failed, change the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}
Al though the doc says time format must be { {YYY,MM,DD} ,{HH,MM,SS}} but function expects time in {HH,MM,SS} which seems to be failing at two places.
Al though the doc says time format must be { {YYY,MM,DD} ,{HH,MM,SS}} but function expects time in {HH,MM,SS} which seems to be failing at two places.
Hi,
It seems to me that the correct usage of ecron:add/3
is to give a tuple {mod :: atom(), func :: atom(), args :: list(any())}
as the third argument.
But the typespec in your module uses mfa()
which is {atom(), atom(), byte()}
where byte()
is used to give an arity and not a list of arguments.
So Dialyzer in angry !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.