Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save history of jobs in persistent storage #214

Open
frndmg opened this issue Jul 23, 2019 · 2 comments
Open

Save history of jobs in persistent storage #214

frndmg opened this issue Jul 23, 2019 · 2 comments

Comments

@frndmg
Copy link

frndmg commented Jul 23, 2019

It could be useful to store the history of executed (or failed tasks) into persistent storage (SQLite, etc). For example, to restore previously broken tasks. Or just to automatically keep an eye on previously executed tasks.

@sm4ll-3gg
Copy link

This pull request is preparation for storing schedule inside external storage: #251

@robfig
Copy link
Owner

robfig commented Nov 25, 2019

I think this is possible today by creating a custom JobWrapper that records this information for each execution. You can include it using cron.WithChain when creating your cron instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants