ChristopherNeuwirth / mindfactory-cart-checker

Small watcher to receive updates on price changes of a saved shopping cart at mindfactory.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mindfactory Horseman

This little watcher can be run as a deamon of node forever to notify you via notification center if a mindfactory cart value has fallen beneath a defined limit.

Example

Requirements

  • NodeJS must be installed an your maschine (https://nodejs.org)
  • Setup a Mindfactory account
  • Save a shopping cart with stuff you want

How to

Install node-forever https://github.com/foreverjs/forever and dependencies

  npm install forever -g && npm install

Set parameters

  • Rename example.config.env.js to .env
  • Setup up USERNAME, PASSWORD and PRICE
  • Price must be integer or point seperated value

Start the script Check every hour:

  forever --minUptime 10000 --spinSleepTime 3600000 start index.js

Stop the script

  forever stop index.js

About

Small watcher to receive updates on price changes of a saved shopping cart at mindfactory.de


Languages

Language:JavaScript 100.0%