Code Monkey home page Code Monkey logo

flightawareranklogger's Introduction

FlightAware Stats Logger

Just a basic script that lets you log your stats relative to check-in duration to see how they corrilate.
(E.g if you're noticing your trend lowering and would like to see if it is your feeder not checking in consitantly)

Right now, It's just barebones. The timing of the check should be tweaked, as I noticed feeders check-in roughly every 5 minutes. I haven't bothered yet to figure out a better timing (E.g more or less than 5 Minutes? 10 Minutes?).

proxy.sh

What is this you may ask?
I was having issues running this script in a tmux session from a crontab on @reboot, but running a script that literally just runs the main script was enough to make it work? idk if it was just my setup, so I left it in.

To-Do

  • In the future I plan on commenting the scripts so it is easier to understand.
  • May also adjust timing, or make it a setting to make it easier for the user to edit.

flightawareranklogger's People

Contributors

jakesta13 avatar

Stargazers

 avatar

Watchers

 avatar

flightawareranklogger's Issues

Output should check if data is numerical

curl --silent -X POST "https://maker.ifttt.com/trigger/${ifttt_event}/with/key/${ifttt_key}" -d "value1=${rank}&value2=${lastCheckIn}"

Added as an issue to track the fix.
The main issue running this script directly from crontab was that it would sometimes contain script names or other text, which is why it is ran from proxy.sh as this solved the issue for some reason.

Though, the script should not send anything to IFTTT if it is not numerical as it messes with the collected spreadsheet.
The script only sometimes outputs a non-numerical output when ran directly through crontab, so preventing output when it is not numerical should be enough.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.