Checking server activity

I have a small dedicated server just for friends. As it is running on a local machine, I check server activity every few minutes and shutdown the server if there is no activity.
The check is done by rcon commands. With listplayers I can check if someone is online. But if no one is there I would like to check if any crafting station is active. I tried this with several sql commands (e.g. checking if ‘remaining burn time’ is changing for any stations).
But I realized that the db isn’t updated if no character is logged in. And since the last patch I think the db isn’t updated correctly at all in this category.

Is it possible to change this?
Or does anyone know any other method to check for server activity?