Commit Graph

110 Commits

Author SHA1 Message Date
Jannis Hübl 89f3b9a8a1 change to args which will be passed to Job#perform 2016-01-14 09:33:14 +01:00
Jannis Hübl dd4f92b569 add data to Cron.perform which will be passed to ExampleJob.new(data).perform 2016-01-13 17:44:27 +01:00
avi_alima e416113ac2 Add ability to define minimal time between job executions to support multiple corno nodes, so two different nodes will not execute the same job
Add Locking for the case that two nodes start perform job together.

If execution_interval == 0.minutes, skip locking and immediately perform
2015-08-20 13:35:41 +03:00
avi_alima 3a480a7d9a Add ability to define minimal time between job executions to support multiple corno nodes, so two different nodes will not execute the same job
Add Locking for the case that two nodes start perform job together.
2015-08-20 12:54:16 +03:00
avi_alima 32bdba3244 Add ability to define minimal time between job executions to support multiple corno nodes, so two different nodes will not execute the same job 2015-08-19 18:08:48 +03:00
ChandravatiSG eaa3a872bf #27 Fixed DB connection pool issue. 2015-06-17 18:11:41 +05:30
Dzmitry Plashchynski 6b627275d8 v0.9.0 2015-05-29 23:29:46 +03:00
Dzmitry Plashchynski c28a0bbc8a Able to specify minutes for hour-based schedule. Closing #26 2015-05-28 17:43:02 +03:00
Dzmitry Plashchynski f909873165 v0.8.9 2015-04-14 13:48:51 +03:00
Dzmitry Plashchynski cd7e842fd2 v0.8.9.pre 2015-04-13 17:52:31 +03:00
Dzmitry Plashchynski aee028919c v0.8.8.pre 2015-04-13 16:18:18 +03:00
Dzmitry Plashchynski 6d41a19212 Handle a few jobs scheduled at the same time 2015-04-13 15:53:20 +03:00
Dzmitry Plashchynski 1900a06582 Add Crono::Cronotab to process cronotab 2015-04-13 12:43:52 +03:00
Dzmitry Plashchynski 8174f86407 Fix crono:clean task 2015-04-13 12:29:27 +03:00
Dzmitry Plashchynski c8f9ff4e34 v0.8.7.pre 2015-04-12 17:04:43 +03:00
Dzmitry Plashchynski 84ac08e5d4 Fix error when next time in the past 2015-04-12 17:04:07 +03:00
Dzmitry Plashchynski e8812b1329 v0.8.6.pre 2015-04-12 16:52:37 +03:00
Dzmitry Plashchynski f6b393ad6b Period should only return future time 2015-04-12 16:48:57 +03:00
Dzmitry Plashchynski 55e3956618 Clean up 2015-04-12 16:34:28 +03:00
Dzmitry Plashchynski 50aec2ea87 0.8.5.pre 2015-04-11 18:50:02 +03:00
Dzmitry Plashchynski a11a8985c3 Merge branch 'master' of github.com:plashchynski/crono 2015-04-11 18:24:07 +03:00
Dzmitry Plashchynski b4ad8fb953 Handle a few jobs scheduled at the same time 2015-04-08 20:08:58 +03:00
Thomas Drake-Brockman 4b28f3dd80 Updated CLI and Config to default to not writing a pidfile unless daemonized. 2015-04-02 03:14:08 +08:00
Dzmitry Plashchynski 63c86c8cd9 Bump version 2015-03-23 01:40:03 +02:00
Dzmitry Plashchynski e10daec9c6 Fix typo 2015-03-23 01:38:53 +02:00
Dzmitry Plashchynski 78ce578484 Access to Crono::Job from performer class 2015-03-22 23:53:46 +02:00
Dzmitry Plashchynski fa97f573e0 Add rake task to check cronotab.rb syntax 2015-03-18 20:54:16 +02:00
Dzmitry Plashchynski dc70212f9d Add crono rake tasks spec 2015-03-17 18:28:17 +02:00
Dzmitry Plashchynski 7328bea24c Add rake task to clean DB 2015-03-16 17:34:25 +02:00
Dzmitry Plashchynski f57d440424 Bump 0.8.0 2015-03-15 09:57:18 +02:00
Dzmitry Plashchynski 95a237aeb5 Check period duration to be at least 1 day when using 'at' 2015-03-15 09:56:39 +02:00
Dzmitry Plashchynski a0c612fb27 Use on in a period description 2015-03-15 09:34:27 +02:00
Dzmitry Plashchynski 9b85c8b8c3 Added 'on' option for Period 2015-03-15 09:29:02 +02:00
Dzmitry Plashchynski 1af691ef24 Lint web 2015-03-14 03:26:32 +02:00
Dzmitry Plashchynski 8a89a9a8eb CLI refactoring 2015-03-14 03:18:16 +02:00
Dzmitry Plashchynski 7e2e65e21b Job refactoring 2015-03-14 03:07:49 +02:00
Dzmitry Plashchynski bb9f62a69b Fix loading issue 2015-03-13 23:28:10 +02:00
Dzmitry Plashchynski a9798acb35 Lint the whole project 2015-03-13 20:46:54 +02:00
Dzmitry Plashchynski 6d2e3fbb75 Add job#log_error, log error with ERROR severity 2015-03-10 23:59:39 +02:00
Dzmitry Plashchynski 46fe2548d9 Refactoring 2015-03-10 23:49:38 +02:00
Dzmitry Plashchynski 6674bca0be Refactoring 2015-03-10 23:33:14 +02:00
Dzmitry Plashchynski a24389f6cc Add Job#healthy 2015-03-10 00:19:33 +02:00
Dzmitry Plashchynski 54a1b53af9 Add tests for Crono::Web 2015-03-09 23:43:17 +02:00
Dzmitry Plashchynski eedff96d39 Autoload Crono::Web 2015-03-09 00:24:58 +02:00
Dzmitry Plashchynski bb9ab77c1d Bump 0.7.0 2015-03-08 22:53:08 +02:00
Dzmitry Plashchynski b95c480a8f Add background for web 2015-03-08 22:25:55 +02:00
Dzmitry Plashchynski 4fb45724d6 Able to see job log 2015-03-08 00:24:33 +02:00
Dzmitry Plashchynski bb03a562cc Add simple web interface 2015-03-08 00:03:59 +02:00
Dzmitry Plashchynski f43ae4b1b1 Save performing errors to DB 2015-03-07 18:05:47 +02:00
Dzmitry Plashchynski 00e51604ae Use sqlite3 file database 2015-03-07 18:03:50 +02:00