Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Add finished time
Browse files Browse the repository at this point in the history
  • Loading branch information
Braydon Fuller committed Nov 13, 2017
1 parent 411a187 commit 51955c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/models/cron.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const CronJob = new mongoose.Schema({
default: Date.now,
required: true
},
finished: {
type: Date,
default: Date.now,
required: true
},
data: {
type: String,
required: false
Expand Down

0 comments on commit 51955c7

Please sign in to comment.