Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
wassmerm

Possible? SQL automatically executed at each server restart

Recommended Posts

Hi.

I have a nice SQL script which repairs and refuels all vehicles on the map to a decent level. Until now, I used to run this SQL script manually during server restarts, to make sure the vehicles are in a good shape when the server starts up again. But this solution has two drawbacks:

  • It is tidious to run the SQL script manually every 3 hours
  • If I don't catch exactly the right moment to run it, the server might overwrite the vehicle state with the current in-game state, thereby overwriting my repaired vehicle state with a damaged vehicle state again. Rendering my script useless.

Therefore I would like that my SQL script is executed at each server restart automatically. Either at shut-down or at start-up.

Is there a possibility to achieve that?

Share this post


Link to post
Share on other sites

.

Edited by ebay

Share this post


Link to post
Share on other sites
Sign in to follow this  

×