Popularity
7.4
Declining
Activity
0.0
Stable
46
5
4
Programming language: Crystal
License: MIT License
Tags:
Misc
Latest version: v0.3.0
cron_scheduler alternatives and similar shards
Based on the "Misc" category.
Alternatively, view cron_scheduler alternatives based on common mentions on social networks and blogs.
-
guardian
Guardian watches over your files and run assigned tasks. -
sentry
Build/Runs your crystal application, watches files, and rebuilds/restarts app on file changes -
immutable
Thread-safe, persistent, immutable collections for the Crystal language -
crystagiri
An Html parser library for Crystal (like Nokogiri for Ruby) -
crz
Functional programming library for https://github.com/crystal-lang/crystal -
crystal-web-framework-stars
⭐️ Web frameworks for Crystal, most starred on Github -
crystal-futures
Future type implementation for Crystal language -
inflector.cr
Inflector shard for Crystal. A port of ActiveSupport::Inflector -
aasm.cr
:arrows_clockwise: Easy to use finite state machine for Crystal classes -
kreal
Kreal is a model sharing & RPC library built on and works with Kemal seamlessly. -
retriable.cr
Retriable.cr is a simple DSL to retry failed code blocks -
ulid
Universally Unique Lexicographically Sortable Identifier (ULID) in Crystal -
CrSerializer
Extensible annotation based serialization/deserialization library -
circuit_breaker
Implementation of the circuit breaker pattern in crystal -
burocracia.cr
No dependency Crystal shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP -
wikicr
Wiki in crystal, using Markdown and Git, inspired by dokuwiki. Last features to build are pretty hard, if you have some time to help... :) -
m3u8
Generate and parse m3u8 playlists for HTTP Live Streaming (HLS) in Crystal. -
atomic_write.cr
Extends `File` to provide `atomic_write()`. -
message_verifier.cr
Rails compatible MessageVerifier for Crystal-lang apps -
defined
This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of cron_scheduler or a related project?
README
CronScheduler
Simple job scheduler with crontab patterns for Crystal Language.
Installation
Add this to your application's shard.yml
:
dependencies:
cron_scheduler:
github: kostya/cron_scheduler
Usage
require "cron_scheduler"
require "logger"
L = Logger.new STDOUT
CronScheduler.define do
# normal crontab syntax, 5 tokens (minute, hour, day, month, wday)
at("* * * * *") { L.info "every 1 minute" }
at("*/5 20-23 * * *") { L.info "every 5 minutes between 20-23 hours" }
at("*/2 */3 * * *") { L.info "every 2 minute every 3 hours" }
at("45 * * * *") { L.info "every hour at :45" }
at("* * * * SUN") { L.info "every 1 minute in sunday" }
# I added extra syntax, when 6 tokens, first one parsed as seconds
# (second, minute, hour, day, month, wday)
at("*/3 * * * * *") { L.info "every 3.seconds" }
at("20-45/5 * * * * *") { L.info "every 5.seconds between 20-45" }
at("11,22,33,44-60/2 * * * * *") { L.info "every 11,22,33,44-60/2 seconds" }
end
L.info "Scheduler started"
sleep