Commit Graph

118 Commits

Author SHA1 Message Date
Dzmitry Plashchynski
fba29d80e2 Bump 1.0.0.pre 2016-01-20 01:23:51 +02:00
Dzmitry Plashchynski
3d71df3d2f Merge pull request #36 from preisanalytics/jhuebl_add_data_to_scheduled_job_20160113
Add the possibility to schedule jobs with arguments
2016-01-16 01:18:22 +02:00
Dzmitry Plashchynski
4c223e1bf6 Merge pull request #34 from lhz/intervals
Added :within option to Period to run only within given time interval.
2016-01-16 01:17:54 +02:00
Jannis Hübl
5d9b420582 fix build and config_spec 2016-01-15 11:34:32 +01:00
Jannis Hübl
4a0c2d78e2 add documentation and fix --help 2016-01-15 11:18:53 +01:00
Jannis Hübl
0affff21d1 add start|stop|restart|run to crono executable
this is done using daemonize gem, but it is not breaking the old
interface. But sets a deprected comment to the old one daemonize
process.
2016-01-15 11:03:38 +01:00
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
Lars Haugseth
4b7b03f8a1 Convert TimeOfDay values to UTC. 2015-10-03 16:34:27 +02:00
Lars Haugseth
a93b937d14 Added :within option to Period to run only within given time interval. 2015-10-03 15:08:43 +02: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