Change cronjob for weather cache processor to daily
This commit is contained in:
@@ -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 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user