Not sure if its even possible, But if it worked, it would most probably be when the server restart the commands are automatically put into rcon.
These are commands such as weather, time, freeze time. Stuff like that. It will make it easier in my opinion.
Also if it has already been created and I missed it? Can you please link it below <3