flex-channel-janitor

v0.2.1
Clean up unused chat channel in flex
cli flex-channel-janitor

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
npm i flex-channel-janitor

Metadata

  • ISC
  • Whatever
  • Unknown
  • released 5/20/2020

Downloads

Maintainers