Skip to content
Browse files

future ideas

  • Loading branch information...
1 parent 18442eb commit 2b224249bb8e045e7c2368299df43bde009ea102 @thomasjachmann committed Jul 5, 2011
Showing with 16 additions and 1 deletion.
  1. +16 −1 Readme.md
View
17 Readme.md
@@ -1,7 +1,7 @@
CRONY
=====
-Crony is a template project to implement a crontab like scheduler. [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) is used for scheduling and [foreman](https://github.com/ddollar/foreman) is used for running the scheduler. This makes it perfect for a deployment on [heroku](http://heroku.com)'s [Caledon Cedar](http://devcenter.heroku.com/articles/cedar) stack.
+Crony is a template project to implement a cron like scheduler. [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) is used for scheduling and [foreman](https://github.com/ddollar/foreman) is used for running the scheduler. This makes it perfect for a deployment on [heroku](http://heroku.com)'s [Caledon Cedar](http://devcenter.heroku.com/articles/cedar) stack.
Usage
@@ -73,6 +73,21 @@ heroku ps:scale worker=1
After this, your private crony instance will happily be running and executing your jobs.
+If you want to pause the scheduler, just scale your worker down to 0:
+
+```bash
+heroku ps:scale worker=0
+```
+
+To restart, scale it back up to 1 again.
+
+
+Future Ideas
+------------
+
+* Implement database backed (instead of file based) job configuration that would allow for management of jobs via the command line (eg rake tasks) without the need to redeploy the app.
+* Integrate a web view - currently, accessing the URL of your app will result in an error since the only process won't serve HTTP requests.
+
Contributing
------------

0 comments on commit 2b22424

Please sign in to comment.
Something went wrong with that request. Please try again.