Giter VIP home page Giter VIP logo

moneroocean-pool-logger's Introduction

MoneroOcean Pool Logger

This is my first attempt and any form of scripting or using git hub. Please be gentle

This powershell script logs the global data from https://MoneroOcean.stream (MO) for the designated payment address.

The logger creates a .csv file with the followning column order: ("timeStamp, amtdue, amtpaid, totalhashes, lasthash, validshares, invalidshares")

Here is a sample row from the log.

2018-11-04_21:27:54, 3.264402244207, 3.234001479599, 4, 103855608034, 1541384795, 295620, 11

Thanks to Bathmat for help on the amount decimal placement. They have written a simular shell script for logging located at https://github.com/Bathmat/MO-stats

Usage

Edit the User Entered Variables with desired settings. The user must eneter thier wallet address all other setttings can be left as is. If left as is create a folder on C: drive named "poollogs" and start the script. Default settings will log the info hourly in a seperate file for each month.

Create a task in Windows Task Scheduler to run the srcipt on start to ensure the script will run after a reboot. Here is a good read on how to create the task. https://community.spiceworks.com/how_to/17736-run-powershell-scripts-from-task-scheduler

Enter miner address here between quotes. This is the payment address used when mining at MO

$mineraddress = "ADD ADDRESS HERE"

Enter desired logfile path. !!!ENSURE PATH EXSISTS!!! Script will fail if path does not exist.

The log name will be appended with the date data based on the log file length variable setting.

$logpath = "c:\poollogs"

$logname = "poollog"

Enter log frequecy in seconds 3600 seconds = 1 hour, 86400 seconds = 1 day

$logfreq = "3600"

Log file length before creating a new file. Enter "D" for Daily log or Y" for yearly log files. Defaults to Monthly log files

$lognew = "M"

Powershell 3.0 or later is required

moneroocean-pool-logger's People

Contributors

smokincache avatar

Watchers

James Cloos avatar

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.