Giter VIP home page Giter VIP logo

Comments (7)

erwin-faceit avatar erwin-faceit commented on August 25, 2024 1

That is interesting! For me, that data contains actually datestamps, but in your case, apparently timestamps are used:

{"SucceededAt":"2020-06-23T14:37:04.2648427Z","PerformanceDuration":"8721","Latency":"93233"}

Since Hangfire.Tags parses the datestring, I can imagine that this will fail. I'll take a look into this!

from hangfire.tags.

erwin-faceit avatar erwin-faceit commented on August 25, 2024 1

Just found out that this has to do with a different compatibility mode: https://github.com/HangfireIO/Hangfire/blob/a07ad0b9926923db75747d92796c5a9db39c1a87/src/Hangfire.Core/Common/JobHelper.cs#L80

A fix is on it's way, it'll be a provider only fix (so Hangfire.Tags.MySql.Official, Hangfire.Tags.SqlServer or Hangfire.Tags.PostgreSql, version 1.6.4).

from hangfire.tags.

erwin-faceit avatar erwin-faceit commented on August 25, 2024

Can you give me a bit more information about your setup? With the SQL provider this works as designed.

image

from hangfire.tags.

agausachs avatar agausachs commented on August 25, 2024

Hi!

I can see the code below. The last column (where the time is supposed to be) is empty.

My database configuration is Microsoft SQL Server 2012 - 11.0.5058.0 (X64) Standard Edition (64-bit) on Windows NT 6.3 (Build 9600: ) (Hypervisor)

I also use the nuget packages Hangfire.Console, Hangfire.Dashboard.Management and Hangfire.MissionControl.

Thanks in advance!

IMAGE:
lastExecution

CODE:

                <div class="table-responsive">
                    <table class="table">
                        <thead>
                            <tr>
                                <th class="min-width">
                                    <input type="checkbox" class="js-jobs-list-select-all" />
                                </th>
                                <th class="min-width">Id</th>
                                <th>Tarea</th>
                                <th class="min-width">Estado</th>
                                <th class="align-right">&#218;ltima ejecuci&#243;n</th>
                            </tr>
                        </thead>
                        <tbody>
                                <tr class="js-jobs-list-row">
                                    <td>
                                        <input type="checkbox" class="js-jobs-list-checkbox" name="jobs[]" value="2385" />
                                    </td>
                                    <td class="min-width">
                                        <a href="/hangfire/jobs/details/2385">#2385</a>
                                    </td>

                                        <td class="word-break">
                                            <a class="job-method" href="/hangfire/jobs/details/2385">Actualitza MCFs</a>
                                        </td>
                                        <td class="min-width">
                                            Succeeded
                                        </td>
                                        <td class="min-width align-right">
                                        </td>
                                </tr>
                        </tbody>
                    </table>
                </div>

from hangfire.tags.

erwin-faceit avatar erwin-faceit commented on August 25, 2024

Just out of curiosity, can you execute the query:

select Data from Hangfire.State where JobId=2385

from hangfire.tags.

agausachs avatar agausachs commented on August 25, 2024

This is the result (3 rows):
{"EnqueuedAt":"1596013737644","Queue":"mcfs"}
{"StartedAt":"1596013737760","ServerId":"esmad09693:25112:22265c71-430f-432f-bf3e-3775ec5de1f6","WorkerId":"5228cdd0-5db8-4b41-bf65-9f8e9c50139e"}
{"SucceededAt":"1596013740150","PerformanceDuration":"2268","Latency":"238"}

from hangfire.tags.

agausachs avatar agausachs commented on August 25, 2024

Great!! Thanks!!

from hangfire.tags.

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.