No commit activity in last 3 years
No release in over 3 years
executes external programs with cron syntax.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 0.10.1
~> 10.3.2
~> 0.24.1
~> 0.8

Runtime

 Project Readme

fluent-plugin-exec_cron Build Status

executes external programs with cron syntax.

Examples

minutely

<source>
  type exec_cron
  tag exec_cron.example
  command echo '{"a":"a"}'
  format json
  cron * * * * *
  graceful_shutdown false
</source>

<match exec_cron.example>
  type stdout
</match>

output

2015-05-27 13:07:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:08:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:09:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:10:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:11:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:12:00 +0900 exec_cron.example: {"a":"a"}

hourly

<source>
  type exec_cron
  tag exec_cron.example
  command echo '{"a":"a"}'
  format json
  cron 0 * * * *
  graceful_shutdown true
</source>

<match exec_cron.example>
  type stdout
</match>

output

2015-05-27 12:00:00 +0900 exec_cron.example: {"a":"a"}
2015-05-27 13:00:00 +0900 exec_cron.example: {"a":"a"}

Installation

sudo td-agent-gem install fluent-plugin-exec_cron

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Information

Copyright

Copyright (c) 2015 Hiroshi Toyama