Skip to content
ngrok-cron with pm2
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
.gitignore
4gas.js
LICENSE
README.md
index.js
package.json
page.html
yarn.lock

README.md

ngrok-cron

this system fire ngrok, next disconnect.
and this system do delay disconnect by microseconds option.

  1. copy https://docs.google.com/spreadsheets/d/16T2V5LPx6gefZIyotft4DO-ZZaoGRkKptcd1RhoBYdg/edit?usp=sharing to your google drive.
  2. tool > script editor > release > Introduced as web application ...
  3. copy Current web application URL to clipboard.
  4. npm i pm2 -g
  5. yarn or npm i
  6. pm2 start index.js -- --proto http --addr 3000 --delay 28800000 --endpoint ${Current web application URL} (8hour sample 8 * 60 * 60 * 1000 = 28800000)
You can’t perform that action at this time.