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

Track Scheduled Run Time in data #74

Open
gmcnaught opened this issue Dec 30, 2016 · 2 comments
Open

Track Scheduled Run Time in data #74

gmcnaught opened this issue Dec 30, 2016 · 2 comments

Comments

@gmcnaught
Copy link
Collaborator

In the same way that lastRun is calculated, I would like to add the scheduledRun time to the job object, so that when I go to process it, I can calculate the delay between scheduled time and work pickup time.

I would be glad to implement this feature - I just wanted to put it past you first.

@lykmapipo
Copy link
Owner

@gmcnaught Sure I will appreciate to see it. Once done let review it. Cause in my deployment there is a neccesity for that feature.

But to make it useful. It will be good if you fire event with the job and time taken to run to make api simple to consume by external process.

Waiting for this.

@gmcnaught
Copy link
Collaborator Author

I started to add this into job.data.scheduled_at, until I saw that the job object has started_at,updated_at,promoted_at as top level items. The difficulty is that on set and get it seems those are heavily filtered - I'd have to curry the job.set and job.get to add this.

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

No branches or pull requests

2 participants