Skip to content

UNIX コマンドを定期的に実行し Web に出力する

Notifications You must be signed in to change notification settings

notakaos/command_watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

command_watcher

UNIX コマンドを定期的に実行し Web に出力する

使い方

lib/app.rb の

command = 'unix_command'

unix_command の部分に実行したコマンドを記述します。

その後、

BASIC_AUTH_USERNAME=testuser BASIC_AUTH_PASSWORD=testpass bundle exec rackup

で実行します。

refresh_seconds = 4

refresh_seconds は指定された時間でブラウザを refresh します。

About

UNIX コマンドを定期的に実行し Web に出力する

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages