Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

sylvainmetayer/tbm_interruption_tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tbm_interruption_tracker

Depfu License: MIT GitHub release https://twitter.com/tbm_issues_bot

Twitter Bot that track service interruption of TBM Tramway.

Installation

$ bundler install
$ cp .env.sample .env
$ vim .env # Fill data or set environnments variable

Usage

./twitterBot.rb [twitter_account] [pattern]

Example : ./twitterBot.rb TBM_TramB "interrompu"

Cron example

0 18 * * * /home/user/tbm_interruption_tracker/twitterBot.rb TBM_TramB "interrompu"