Commit Graph

100 Commits

Author SHA1 Message Date
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
Javan Makhmali
37aac75a46 Merge branch 'integration' of github.com:javan/whenever into integration 2010-04-26 11:38:54 -04:00
Finn Smith
e3ea5d6336 Move require of tempfile lib to file that actually uses it. 2010-04-26 23:38:36 +08:00
Javan Makhmali
bfbc62eacb Merge branch 'integration' of github.com:javan/whenever into integration 2010-04-26 10:56:50 -04:00
tma
1069cb7c48 fix STDERR output redirection to file to append instead of overwrite. 2010-04-26 22:56:38 +08:00
Javan Makhmali
19c9bbd32e require active_support/all. fix #52 2010-04-26 10:48:50 -04: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
Andrew Nesbitt
cc2993f1be Fixed activesupport deprecation warning 2009-12-01 03:07:30 +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
Javan Makhmali
295cabe56c added new output redirection features, moved most of it into a new class. 2009-10-20 11:52:09 -04:00
Peer Allan
be38dd1139 Added output redirection support
* replaced cron_log option with output
  * setting output to nil explicitly redirects to /dev/null
  * updated Readme and wheneverize template with examples
2009-10-18 06:49:16 +08:00
Javan Makhmali
53b92aa84b bump to version 0.3.7 2009-09-04 17:14:35 -04:00
Javan Makhmali
6bf363b723 don't try to combine @shortcut jobs 2009-09-04 16:48:33 -04:00
Javan Makhmali
51a6b3720a Sets the PATH automatically unless it's already provided or told not to. 2009-07-15 15:37:03 -04:00
Javan Makhmali
ed86aeb792 Bumped version, updated changelog, gemspec, etc. Now presenting 0.3.5 2009-07-13 22:34:34 -04:00
Javan Makhmali
8d3b02861a Merge branch 'new_line_after_closing_comment' 2009-07-13 22:24:10 -04:00
Javan Makhmali
5ad11bd642 0.upto(4), not 5) 2009-07-13 22:23:21 -04:00
Javan Makhmali
434423f22d Adds new line after closing Whenever comment. Prevents accumulation of new lines with each --update-crontab. Closes #18 2009-07-13 17:23:58 -04:00
Javan Makhmali
ef219c8665 documented the #combine method 2009-07-13 16:07:18 -04:00
Sam Ruby
92e727c09e Fixed a bug involving double quotes and runner
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-07-14 03:06:04 +08:00
Sam Ruby
5ffc2b48bd Allow multiple times, arrays, and combine results whenever possible
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-07-01 09:08:26 +08:00
Sam Ruby
abab2f8835 Allow multiple ":at" times, separated by commas
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-07-01 09:00:58 +08:00
Javan Makhmali
2a44d2a565 Merge branch 'integration' 2009-06-25 21:45:39 -04:00
Roger Ertesvåg
e2e14a6d05 Use 0-6 instead of sun-sat
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-06-26 09:39:30 +08:00
Javan Makhmali
6fbb125296 Removed activesupport dependency from gemspec. Closes #1 2009-06-25 21:37:23 -04:00
Javan Makhmali
c1bc0ab1b9 Added ability to set variabled on-the-fly from the command line 2009-06-02 12:26:15 +02:00
Javan Makhmali
a1e20fabbe Added Manifest, version bump 2009-04-30 18:22:27 -07:00
Javan Makhmali
c15c0faecd bumped version 2009-04-30 18:09:24 -07:00
Javan Makhmali
e6e681b765 bumped to version 0.2.0 and updated changelog, readme, etc 2009-04-30 17:03:16 -07:00
Javan Makhmali
801c2ad7e1 Raise an exception when trying to use an :at with the cron shortcuts. 2009-04-30 16:45:07 -07:00
David Eisinger
33ec97886b Fixed bug where :at directives were being ignored when using named periods
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-05-01 06:57:01 +08:00
Javan Makhmali
b2f282ce2e Moved more code out of the bin and into the CommandLine class. Bumped to 0.1.7 2009-03-05 18:18:38 -08:00
Javan Makhmali
841c5a4a4a updated readme, changelog, gemspec. bumped to 0.1.6 2009-03-05 17:58:23 -08:00
Javan Makhmali
c4989147be Added ability to update a crontab non-destructively using identifiers 2009-03-05 17:28:36 -08:00
Javan Makhmali
7199b9e5ef Fixed load path to avoid conflicts with Rails files (Thanks Ryan Koopmans). Bumped to 0.1.5 2009-02-19 11:48:07 -08:00
Javan Makhmali
469fd369db Added more opts to whenever binary. Moved code from rake tasks into bin files themselves and removed rake files. Bumped version to 0.1.4 2009-02-17 11:22:18 -08:00
Javan Makhmali
44d6716f80 Minor fixes. Bump to 0.1.3 2009-02-16 21:46:22 -08:00
Javan Makhmali
bf9fb1d6c1 Got rid of already initialized constant warning. Improved version code. Improved test load paths. Bumped to 0.1.2 2009-02-16 18:32:55 -08:00
Javan Makhmali
0d55052941 bumped version to 0.1.1 2009-02-16 16:54:40 -08:00
Javan Makhmali
01b7b81a10 Added RakeTask job type and helper and refactored the job types. Cleaned up and added tests. 2009-02-16 16:22:37 -08:00
Javan Makhmali
d2eec9f94a Initial commit. 2009-02-15 19:24:10 -08:00