# Completed jobs history

**URL:** <https://discourse.openondemand.org/t/completed-jobs-history/2708>\
**Category:** Get Help\
**Tags:** question\
**Created:** [May 19, 2023, 8:26am UTC](https://discourse.openondemand.org/t/completed-jobs-history/2708 "2023-05-19T08:26:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhicheng00](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/zhicheng00/32/1667_2.png) [@zhicheng00](https://discourse.openondemand.org/u/zhicheng00)\
**Post date:** [May 19, 2023, 8:26am UTC](https://discourse.openondemand.org/t/completed-jobs-history/2708/1 "2023-05-19T08:26:16Z")

</div>

Hi, I would like to show completed jobs on the dashboard (similar to Active Jobs). From what I gather on related posts, OOD does not track completed jobs since it’s using squeue (or equivalent). Is there a way for me to change that myself? Thank you

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [May 19, 2023, 1:24pm UTC](https://discourse.openondemand.org/t/completed-jobs-history/2708/2 "2023-05-19T13:24:03Z")

</div>

Hello and welcome!

Yes, it is possible for you to do something like that. It would be a complex addition to the code where you would have to make changes to the source code itself.

There’s a few techniques you could employ to do it, the one which jumps to mind would be something like `sacct` if you are using SLURM. But again, this would be an involved and complex change to the source code because even if you started pulling that data, you’d also have to alter the code to display this information and handle.

This change could span across OOD\_CORE for the scheduler in question (though SLURM sounds like the choice here) along with changes to OnDemand itself to get and display that information.

What I’m getting at is yes, it is possible, but it is not something I’d recommend given how much code you would have to change and keep track of between upgrades to ensure it isn’t overwritten or breaks somehow when you upgrade.

---

<div class="post-metadata">

**Author:** ![zhicheng00](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/zhicheng00/32/1667_2.png) [@zhicheng00](https://discourse.openondemand.org/u/zhicheng00)\
**Post date:** [May 24, 2023, 7:57am UTC](https://discourse.openondemand.org/t/completed-jobs-history/2708/3 "2023-05-24T07:57:26Z")

</div>

Oh I see. I will have a go tinkering with it and see how it goes. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [November 20, 2023, 7:58am UTC](https://discourse.openondemand.org/t/completed-jobs-history/2708/4 "2023-11-20T07:58:12Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
