Update to the Gridcoin New User Report Generator – February 14, 2018

Update to the Gridcoin New User Report Generator – February 14, 2018

Hi everyone,

Today, I made an update to the Gridcoin New User Report Generator, which allows the software to be scheduled in order to generate the reports.

Basically, what this means is that the GUI (Graphical User Interface) can be used to select the projects we want to include in the report and also generate the report, but also means that we can just use the terminal, pass the “-s” argument, and it will generate the report taking into account the projects we’ve selected in the GUI.

The commit made today simply adds an optional parameter called Silent:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 1

Which will be True if we pass the -s argument in a terminal window:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 2

That will call the software Main Routine and generate the report.

In the PublishReport function, if it has the Silent parameter as False, it will not show us any message when the report gets published unless an error occurs. This is why I call this parameter Silent, since everything happens in the background and without user interaction:

Update to the Gridcoin New User Report Generator - February 14, 2018 - 3

The idea for this is that it can be scheduled using the Windows Task Scheduler tool so that reports gets generated every day.

That’s all for this post!

Github Repository.