question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deleting sessions command / operator.

See original GitHub issue

Digdag server uses large database area when running the server for a long time. In this situation, Digdag user wants to delete past sessions. But currently, those feature doesn’t implement yet.

An Idea

  • digdag delete_sessions command deletes sessions previous the specific date
  • delete_sessions> operator delete sessions previous of the specific date.

Ref: Twitter

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hiroyuki-satocommented, Sep 19, 2018

@muga I asked digdag users about database usage in Japanese. Twitter

0reactions
ehauptcommented, Jul 9, 2020

Hello @muga,

may I suggest a digdag command-line option where you can specify a max age for cleaning up old sessions?

For instance:

# delete sessions older than 30 days
$ digdag sessions --cleanup 30d

This way the cleanup would work regardless of the DB backend and would be suitable for cronjobs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing APPLDEF sessions when CL/SuperSession is active
To delete a current APPLDEF session, run the APPLDEF command, specifying the session name, along with the REMOVE keyword.
Read more >
Delete a Session from the Session List - TechDocs
Press Enter to delete the session, or press F3 (Cancel) to cancel the deletion. Session Deletion ...
Read more >
Remove-PSSession (Microsoft.PowerShell.Core)
The Remove-PSSession cmdlet closes PowerShell sessions (PSSessions) in the current session. It stops any commands that are running in the PSSessions, ...
Read more >
administrator delete - BigFix Developer
This command allows you to remove a BigFix user as an administrator of the computer. This is accomplished by using a setting with...
Read more >
9 Monitoring Integration Processes
An overview of the Operator Navigator's user interface is provided. ... have set up On Connect and Disconnect commands on data servers used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found