Change cronjob for weather cache processor to daily

This commit is contained in:
Samer Albahra
2015-07-02 19:45:12 -05:00
parent 90faf0f2fb
commit e82d72067f

View File

@@ -36,7 +36,7 @@ var server = app.listen( port, "127.0.0.1", function() {
} ); } );
// Schedule a cronjob daily to consildate the weather cache data, runs daily // Schedule a cronjob daily to consildate the weather cache data, runs daily
new CronJob( "0 * * * * *", function() { new CronJob( "0 0 0 * * *", function() {
// Find all records in the weather cache // Find all records in the weather cache
Cache.find( {}, function( err, records ) { Cache.find( {}, function( err, records ) {