disable cron for now, back up to 1mo.

This commit is contained in:
Tyler Renelle
2013-01-28 22:03:34 -05:00
parent c6ede3b5f8
commit 59b80a62f6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,5 +37,5 @@ module.exports.deleteStaleAccounts = ->
lastCron = new Date(user.lastCron)
diff = Math.abs(moment(today).sod().diff(moment(lastCron).sod(), "days"))
if diff > 15
if diff > 30
removeAccount(collection, user._id)
+1 -1
View File
@@ -11,7 +11,7 @@ priv = require './private'
toobusy = require 'toobusy'
## Run server cron ##
require('./cron').deleteStaleAccounts()
#require('./cron').deleteStaleAccounts()
## RACER CONFIGURATION ##