wethegreenpeople / IdleBusiness

A multiplayer idle game
3 stars 3 forks source link

Fix cron job(s) - Removing investments/espionages #19

Closed wethegreenpeople closed 3 years ago

wethegreenpeople commented 4 years ago

Just noticed that there are a lot of investments and espionage rows that exist in the table, that theoretically, should be cleaned up from the cron job.

I'm not 100% sure what's broken yet, because investments seem to be getting awarded perfectly fine, just not removed.

wethegreenpeople commented 3 years ago

I believe this is fixed in the pull request. Issue seemed to be two-fold, with the cron job not running on time meaning investments were missed, and also only the businessinvestments table being cleaned and not the investments table.