aboutsummaryrefslogtreecommitdiff
path: root/src/api/structures
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/structures')
-rw-r--r--src/api/structures/Server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/structures/Server.js b/src/api/structures/Server.js
index cb97dd1..446c621 100644
--- a/src/api/structures/Server.js
+++ b/src/api/structures/Server.js
@@ -103,7 +103,7 @@ class Server {
createJobs() {
// TODO: move into the database config. (we can just show the crontab line for start, later on we can add dropdowns and stuff)
- this.jobs.stats = new CronJob('* 0 * * * *', Util.saveStatsToDb, null, true);
+ this.jobs.stats = new CronJob('0 0 * * * *', Util.saveStatsToDb, null, true);
}
start() {