• Stars
    star
    3,412
  • Rank 12,775 (Top 0.3 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 8 years ago
  • Updated 28 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple, distributed task scheduler and runner with a web based UI.

Overview

Cronicle is a multi-server task scheduler and runner, with a web based front-end UI. It handles both scheduled, repeating and on-demand jobs, targeting any number of worker servers, with real-time stats and live log viewer. It's basically a fancy Cron replacement written in Node.js. You can give it simple shell commands, or write Plugins in virtually any language.

Main Screenshot

Features at a Glance

  • Single or multi-server setup.
  • Automated failover to backup servers.
  • Auto-discovery of nearby servers.
  • Real-time job status with live log viewer.
  • Plugins can be written in any language.
  • Schedule events in multiple timezones.
  • Optionally queue up long-running events.
  • Track CPU and memory usage for each job.
  • Historical stats with performance graphs.
  • Simple JSON messaging system for Plugins.
  • Web hooks for external notification systems.
  • Simple REST API for scheduling and running events.
  • API Keys for authenticating remote apps.

Documentation

The Cronicle documentation is split up across these files:

Glossary

A quick introduction to some common terms used in Cronicle:

Term Description
Primary Server The primary server which keeps time and runs the scheduler, assigning jobs to other servers, and/or itself.
Backup Server A worker server which will automatically become primary and take over duties if the current primary dies.
Worker Server A server which sits idle until it is assigned jobs by the primary server.
Server Group A named group of servers which can be targeted by events, and tagged as "primary eligible", or "worker only".
API Key A special key that can be used by external apps to send API requests into Cronicle. Remotely trigger jobs, etc.
User A human user account, which has a username and a password. Passwords are salted and hashed with bcrypt.
Plugin Any executable script in any language, which runs a job and reads/writes JSON to communicate with Cronicle.
Schedule The list of events, which are scheduled to run at particular times, on particular servers.
Category Events can be assigned to categories which define defaults and optionally a color highlight in the UI.
Event An entry in the schedule, which may run once or many times at any interval. Each event points to a Plugin, and a server or group to run it.
Job A running instance of an event. If an event is set to run hourly, then a new job will be created every hour.

Colophon

We stand on the shoulders of giants. Cronicle was built using these awesome Node modules:

Module Name Description License
async Higher-order functions and common patterns for asynchronous code. MIT
bcrypt-node Native JS implementation of BCrypt for Node. BSD 3-Clause
chart.js Simple HTML5 charts using the canvas element. MIT
daemon Add-on for creating *nix daemons. MIT
errno Node.js libuv errno details exposed. MIT
font-awesome The iconic font and CSS framework. OFL-1.1 and MIT
form-data A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications. MIT
formidable A Node.js module for parsing form data, especially file uploads. MIT
glob Filesystem globber (*.js). ISC
jstimezonedetect Automatically detects the client or server timezone. MIT
jquery JavaScript library for DOM operations. MIT
mdi Material Design Webfont. This includes the Stock and Community icons in a single webfont collection. OFL-1.1 and MIT
mkdirp Recursively mkdir, like mkdir -p. MIT
moment Parse, validate, manipulate, and display dates. MIT
moment-timezone Parse and display moments in any timezone. MIT
netmask Parses and understands IPv4 CIDR blocks so they can be explored and compared. MIT
node-static A simple, compliant file streaming module for node. MIT
nodemailer Easy as cake e-mail sending from your Node.js applications. MIT
shell-quote Quote and parse shell commands. MIT
socket.io Node.js real-time framework server (Websockets). MIT
socket.io-client Client library for server-to-server socket.io connections. MIT
uglify-js JavaScript parser, mangler/compressor and beautifier toolkit. BSD-2-Clause
zxcvbn Realistic password strength estimation, from Dropbox. MIT

Companies Using Cronicle

Cronicle is known to be in use by the following companies:

License

The MIT License (MIT)

Copyright (c) 2015 - 2023 Joseph Huckaby

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
ActionScript
2,485
star
2

Effect-Games

Classic DHTML JavaScript Game Engine and Web Based IDE
JavaScript
570
star
3

megahash

A super-fast C++ hash table with Node.js wrapper, tested up to 1 billion keys.
JavaScript
404
star
4

wperf

A simple HTTP load testing utility with detailed performance metrics.
JavaScript
145
star
5

canvas-plus

A universal Node/browser library for manipulating images, built on canvas.
JavaScript
110
star
6

performa

A multi-server monitoring system with a web based UI.
JavaScript
93
star
7

pixl-xml

A simple module for parsing and composing XML.
JavaScript
77
star
8

magic-sorting-system

A data pack for Minecraft 1.13, 1.14 and 1.15 (Java) for automatically sorting every item in the game.
mcfunction
39
star
9

pixl-chart

A simple time series chart renderer using HTML5 Canvas.
JavaScript
25
star
10

clipdown

Convert rich HTML to Markdown in your clipboard (macOS only).
JavaScript
24
star
11

logalert

Monitor logs (or any text files) and send alerts on specific changes.
JavaScript
22
star
12

canvascycle

An HTML5/Canvas implementation of 8-bit color cycling
JavaScript
18
star
13

pixl-server

A simple server daemon framework for Node.js.
JavaScript
18
star
14

zeroupload

HTML5 file drag n' drop and uploading library with "zero interface"
JavaScript
14
star
15

textual-chatter

Textual IRC theme (style) with auto light/dark modes, Emoji emotes and auto-correction features.
JavaScript
13
star
16

Mirror-Bot

Connects two IRC channels by mirroring all activity between them.
Perl
12
star
17

webp-wasm

Encode and decode WEBP images using libwebp compiled to WebAssembly.
JavaScript
11
star
18

pixl-server-storage

A key/value/list/hash storage component for the pixl-server framework.
JavaScript
10
star
19

performa-satellite

Remote data collector for Performa.
JavaScript
9
star
20

pixl-cli

Tools for building command-line apps for Node.js.
JavaScript
9
star
21

pixl-server-web

A web server component for the pixl-server framework.
JavaScript
8
star
22

OpenBox

Keep a local folder on your Mac automatically and continually synchronized with a remote server (Mac or Unix / Linux).
Perl
8
star
23

PoolNoodle

A simple HTTP web server with managed child worker pools.
JavaScript
7
star
24

syntax-clip

Syntax highlight code in your clipboard (macOS only).
JavaScript
7
star
25

pixl-class

A simple Node.JS module for creating classes, with inheritance and mixins.
JavaScript
6
star
26

pixl-server-pool

A pixl-server add-on component for managing child worker pools.
JavaScript
6
star
27

simplebot

A simple IRC bot that is easy to install and use.
Perl
6
star
28

canvas-plus-playground

Web-based API playground for canvas-plus
JavaScript
6
star
29

pixl-json-stream

Provides an easy API for sending and receiving JSON records over standard streams (pipes or sockets).
JavaScript
6
star
30

pixl-cache

A simple but fast LRU cache module.
JavaScript
5
star
31

pixl-perf

A simple, high precision performance tracking system for Node.JS apps.
JavaScript
5
star
32

pixl-proxy

A simple HTTP proxy daemon, making use of Keep-Alives.
JavaScript
4
star
33

jtv-calendar-widget

Widget displays your current live or next upcoming Justin.TV show based on your Google Calendar.
PHP
4
star
34

pixl-logger

A simple logging class which generates [bracket][delimited] log columns.
JavaScript
4
star
35

megacache

A super-fast C++ LRU cache with Node.js wrapper.
JavaScript
4
star
36

simpleirc

An IRC server that is easy to install and run.
Perl
4
star
37

pixl-webapp

A client-side JavaScript framework, designed to be a starting point for a simple web application.
JavaScript
4
star
38

jtv-info-widget

Displays real-time Justin.TV stream information on your own live page.
JavaScript
4
star
39

Perl-Tools

Miscellaneous Perl classes and utility functions.
Perl
4
star
40

lbmtool

Converts DeluxePaint LBMs to JSON or PNG format.
JavaScript
4
star
41

pixl-pack

Encode and decode objects to/from binary buffers.
JavaScript
3
star
42

mendo.org

A community forum / discourse app with a web based UI.
JavaScript
3
star
43

pixl-json-util

A simple CLI utility for manipulating JSON files.
JavaScript
3
star
44

pixl-tools

A set of miscellaneous utility functions for Node.JS.
JavaScript
3
star
45

pixl-server-user

A basic user login and session management system for the pixl-server framework.
JavaScript
3
star
46

picam

A simple camera system for the Raspberry Pi, which FTPs snapshots at custom intervals.
JavaScript
3
star
47

pixl-boot

Register your service to launch on server startup (Linux / OS X).
JavaScript
3
star
48

pixl-args

A simple Node module for parsing command line arguments.
JavaScript
3
star
49

pixl-request

A very simple module for making HTTP requests.
JavaScript
3
star
50

pixl-config

A simple Node JSON configuration loader.
JavaScript
2
star
51

pixl-acl

A simple but fast implementation of IPv4 and IPv6 ACL filtering.
JavaScript
2
star
52

pixl-mail

A very simple class for sending e-mail via SMTP or local sendmail.
JavaScript
2
star
53

visibleerrors

Safari & Chrome browser extension for showing notifications for all JavaScript errors.
JavaScript
2
star
54

uncatch

Global cooperative uncaught exception handler
JavaScript
2
star
55

folderctl

A simple folder monitoring daemon for running custom actions on change.
JavaScript
2
star
56

pixl-unit

A very simple unit test runner for Node.JS.
JavaScript
1
star
57

speechbot-api

Bot API for the SpeechBubble Chat Server
JavaScript
1
star
58

pixl-server-multi

A multi-server cluster manager component for pixl-server.
JavaScript
1
star
59

pixl-server-unbase

A database component for the pixl-server framework.
JavaScript
1
star
60

orchestra-theme

A theme for Orchestra, and some of Joe's other apps.
JavaScript
1
star
61

class-plus

A simple module for building and extending classes, with mixins and more.
JavaScript
1
star
62

pixl-server-api

A JSON REST API component for the pixl-server framework.
JavaScript
1
star
63

memslap

A simple memory monitor which prompts you to slap (kill) processes after they grow too large.
JavaScript
1
star