Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Web app for scheduling JavaScript jobs
JavaScript
branch: master
Failed to load latest commit information.
bin
dev/tasks
dist
server
ui
.bowerrc
.gitignore Added dist folder
.jshintrc
Gruntfile.js
README.md
bower.json
index.js
init.js
package.json

README.md

Cran is like cron.

Cran is a JavaScript job scheduler with a friendly interface.

  1. Install: sudo npm install -g cran
  2. Run: cran
  3. Navigate a local browser to: http://localhost:2726

Here are some neat features:

  • Use plain English to define your schedule (ex. "every 2 hours on the last day of the month")
  • Edit script via the web app using Ace
  • Works on mobile devices
  • require() any native or global node module in your job scripts

Note that your schedule is parsed by later according to UTC (for example, if you write "2:00pm", the system understands it as "2:00pm UTC").

Keep in mind that malicious scripts could be run via this tool, so don't make it visibile on any network where there may be malice lurking. By default the server will only serve to localhost on port 2726, you can change this by passing in -h [hostname]:[port] as a command line argument.

Screenshots

The Dashboard

The Edit Page

Something went wrong with that request. Please try again.