preen-script - we can't use load() because we don't know mongo shell

pwd() at server run-time
This commit is contained in:
Tyler Renelle 2013-06-14 19:19:08 -04:00
parent 9361b015f6
commit 6b307cd52c

View file

@ -1,11 +1,9 @@
/**
* Set this up as a midnight cron script
*
* mongo habitrpg migrations/preen_cron.js
* mongo habitrpg ./node_modules/moment/moment.js migrations/preen_cron.js
*/
load('./node_modules/moment/moment.js');
/*
Users are allowed to experiment with the site before registering. Every time a new browser visits habitrpg, a new
"staged" account is created - and if the user later registeres, that staged account is considered a "production" account.