Skip to content

jtgi/flex-channel-janitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flex Channel Janitor

Cleans up any lingering Proxy sessions that have lost their associated tasks.

Note: If you want Flex to do this for you automatically just enable janitor on your Flex Flow. For more information see here

Usage

flex-channel-janitor --account-sid AC46f5800f249d224c431c937528128afb --auth-token 73286632772f1fc262a05fbgaaj6h2de
  ✔ Fetch Flex resources
  ✔ Find stale chat sessions. Found 60 candidates
  ✔ Clean up stale sessions. 60 done
DONE

Install

  1. Get your account credentials from twilio.com/console
  2. Clone and run directly or install via npm.

Via NPM

npm install -g flex-channel-janitor
flex-channel-janitor --account-sid $accountSid --auth-token $authToken

Via github

git clone https://github.com/jtgi/flex-channel-janitor.git
cd flex-channel-janitor
npm install
./bin/flex-channel-janitor --account-sid $accountSid --auth-token $authToken

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published