0.0
No commit activity in last 3 years
No release in over 3 years
Simple tool to execute commands on schedule. Designed for maintain web applications.
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
>= 0
 Project Readme

CommandTimer

Build Status Gem Version Coverage Status Code Climate

Simple tool to execute commands on schedule. Designed for maintain web applications.

Installation

$ gem install command_timer

Usage

$ cmdtimer [options] COMMANDS_CONFIG_FILE

Options

-c, --count-down Assign the seconds to count down. (default 30s)
-s, --ntp-server Assign the NTP server. (only ntp installed)

Config File Sample (YAML)

command1:
    description: "stop unicorn"
	burn_time: "14:00:00"
	content: |
		cd /path/to/app/
		cap unicorn:stop
command2:
	description: "deploy"
	burn_time:
	content: |
		cd /path/to/app/
		cap deploy
	observer: |
		cd /path/to/app/
		cap invoke COMMAND="tail -f /path/to/log/file"
command3:
    description: "start unicorn"
	burn_time: "16:00:00"
	content: |
		cd /path/to/app/
		cap unicorn:start

burn_time

HH:mm:ss execute commands on time
blank execute commands by user input
auto execute commands after previous command ended