Code Monkey home page Code Monkey logo

Comments (4)

SBFspot avatar SBFspot commented on June 21, 2024

[SillieWimons@1/04/2014]
dear since you did not include more information
I'll assume that you refer to the monthly file,

  • the information related to "total-production" of a day, eg for the first day of a month
    is only available the morning after the first day,
    for that reason the report by SMAspot "no-data" is correct

note: see also the discussions on "googlecode" for SMAspot

kr wim

from sbfspot.

SBFspot avatar SBFspot commented on June 21, 2024

[SBF@1/04/2014]
Maybe the message is a bit confusing, but like Wim said, the first day of the month there is still no month data. It is only available after a complete day: in this case 2nd of April at 00:00

from sbfspot.

SBFspot avatar SBFspot commented on June 21, 2024

[gvs@2/04/2014]
Although "no-data" is correct on the first day of the month. it is a message the code will always create the first 24 hours of a month. An inexperienced user might see as an error not knowing how to solve.

Normally if a Linux cron job runs and a error or message is created, it will create a mail. This is to report errors to administrator.
I the case of SMAspot the administrator wants a mail when the program has messages or errors and not send to "1> /dev/null 2>&1", virtually make administrator blind for messages or errors.

The code could check for first day of month and not report this message because it is normal behavior, not an error.
If you do not think this should be in the code could you help me. I was looking at the code but I am not a C-programmer, if you know a possible solution only to remove it on the first day of the month, not on other days of the month could you give me a hint, thanks Ger.

from sbfspot.

SBFspot avatar SBFspot commented on June 21, 2024

Issue closed by SBF with comment
This is normal behaviour - By design of SMA firmware

Reason closed
Invalid

from sbfspot.

Related Issues (20)

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.