Commit Graph

68 Commits

Author SHA1 Message Date
Javan Makhmali
f31148d27d adds user definable job types and uses the new API for these to define the original command, runner, and rake commands 2010-06-28 15:14:01 -04:00
Javan Makhmali
c2e0320d2a use Dir.pwd as default path instead of loading Rails and getting the Rails.root 2010-06-24 13:51:17 -04:00
Damien
b664c037e4 Handle job_type settings more gracefully and allow quoting of the task to be supressed 2010-06-11 23:31:09 +08:00
Damien
7e6a199b8b Writing some tests for user defined jobs and changing job.environment option to job.no_environment so it plays nicely with the environment settings from the parent class 2010-06-11 23:31:09 +08:00
Damien
480a0a9e04 Allow creation of new job types from within schedule.rb. Not only does this make it easier to define app-specific job types such as the new rails 3 runner, or jobs which need to run under bundler, but it also allows the user to create reusable system commands rather than using the :command method every time. 2010-06-11 23:31:08 +08:00
Damien
8fdd66adc0 Use rails 3 style runner 2010-06-11 23:31:08 +08:00
Damien
50fc55dbef A couple of small changes so whenever plays nice with rails 3.. Don't load up the Rakefile and use the new syntax for getting rails root 2010-06-11 23:31:08 +08:00
Javan Makhmali
c2e4c6e68d updated gemspec. bumped version. 2010-04-26 12:26:23 -04:00
Javan Makhmali
4ddb2c15ff Merge branch 'integration' of github.com:javan/whenever into integration 2010-04-26 12:09:49 -04:00
Dan Hixon
efd3dd752e bugfix: http://github.com/javan/whenever/issues#issue/32 - comparison Time with 0 failed 2010-04-27 00:08:26 +08:00
Javan Makhmali
00c42aca1d move fileutils require too 2010-04-26 11:44:53 -04:00
Finn Smith
e3ea5d6336 Move require of tempfile lib to file that actually uses it. 2010-04-26 23:38:36 +08:00
tma
1069cb7c48 fix STDERR output redirection to file to append instead of overwrite. 2010-04-26 22:56:38 +08:00
Michael Guterl
cd92f1f4f1 In order to use bundler you must change to the directory where Gemfile exists
* Change runner command to cd to directory prior to running script/runner
2010-04-26 22:41:09 +08:00
Javan Makhmali
22d34a538d updated docs, bumped version 2009-11-30 14:45:03 -05:00
Elan Meng
4458855364 ad default code, Jruby sucks 2009-12-01 03:08:29 +08:00
Javan Makhmali
9968a75e51 using jeweler, lots of cleanup, updates to readme, etc. 2009-10-20 15:54:09 -04:00
Javan Makhmali
b84c8a8f0b moved everthing into a whenever/ dir 2009-10-20 13:42:09 -04:00