diff options
Diffstat (limited to 'npc/003-3')
-rw-r--r-- | npc/003-3/malindou.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 2115bd3f8..18ecd3302 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -1044,8 +1044,10 @@ OnClock0500: } // TODO: Have crontab make monthly .gz backup? // Remove overhead from picklog - if (gettime(GETTIME_DAYOFMONTH) == 14) - query_sql("OPTIMIZE TABLE `picklog`"); + if (gettime(GETTIME_DAYOFMONTH) == 14) { + apiasync("SQL", "OPTIMIZE TABLE `picklog`"); + apiasync("SQLRUN", ""); + } end; // This is for HUB |