Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
 - minor fix
  • Loading branch information
dr-dimitru committed Feb 19, 2016
1 parent 463a177 commit d611f4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .versions
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mongo-id@1.0.1
npm-mongo@1.4.39_1
observe-sequence@1.0.7
ordered-dict@1.0.4
ostrio:cron-jobs@1.0.1
ostrio:cron-jobs@1.0.2
promise@0.5.1
random@1.0.5
reactive-var@1.0.6
Expand Down
2 changes: 1 addition & 1 deletion cron-jobs.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CRONjob
added: (doc) ->
Meteor.setTimeout ->
currentTask = self.collection.findOne {uid: doc.uid}
if currentTask.inProgress is false
if currentTask and currentTask?.inProgress is false
ready = ->
if doc.interval is true
self.collection.update {uid: doc.uid},
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'ostrio:cron-jobs',
version: '1.0.1',
version: '1.0.2',
summary: 'Dead simple task scheduler. With support of cluster or multiple NodeJS instances.',
git: 'https://github.com/VeliovGroup/Meteor-CRON-jobs',
documentation: 'README.md'
Expand Down

0 comments on commit d611f4d

Please sign in to comment.