We are sorry, information on this page is available only in Czech. Use Translator Switch to Czech


Automated Safe Shutdown and Startup of FileMaker Server


The customer operated a FileMaker Server on a macOS-based server, which underwent scheduled restarts every Sunday for maintenance purposes. If the system restarted without first properly closing all FileMaker databases, it could result in data corruption. The customer therefore needed to automate a secure shutdown and startup process for the server and databases.

Ensuring safe shutdown of FileMaker Server before system restart

We developed a Python script to gracefully close all FileMaker databases and stop the FileMaker Server. This script was scheduled using the macOS system task scheduler, ensuring it runs automatically every Sunday before the system reboot. Once the server and databases shut down properly, the system performs a safe shutdown with no risk of corruption. The script also reports to monitoring systems, indicating that the outage is intentional and doesn't require an alert.

Process of automated shutdown and safe restart of FileMaker Server using scripts

We also created a second Python script that runs automatically at system startup to verify that the previous shutdown was completed correctly. If everything is in order, the script starts the FileMaker Server and opens all databases automatically. If an issue is detected, the script sends an email alert and keeps the server safely offline so an administrator can manually resolve the situation. Automatic startup is intentionally disabled in this case, since improper shutdowns could cause latent database corruption, which may surface only later—making it critical to prevent such risks in advance.

For another customer in Africa, we also delivered a manual version of this system, where users manually trigger the script via a desktop shortcut before shutdown, due to frequent power outages in the region.

Used technologies

Interested in this solution?
Contact us with your requirements, and we will adjust it exactly to your needs.

Call us Call
us

+420 608 301 880

Usually available on working days between 7am and 5pm GMT

We'll call you back if you call from a discoverable phone number and fail to reach us

Let us call you Let us
call you

By completing and sending the form you agree that 24U s.r.o., a company established under the laws of the Czech Republic, with its registered office: Zvole u Prahy, Skochovická 88, CZ-25245, registered in the Commercial Register with the Municipal Court in Prague, section C, inset 74920 will use your personal data contained in the form for the purpose of sending 24U’s news, updates and other commercial communications. Providing 24U with personal data for the said purpose is optional. Details on personal data processing and on your rights connected therewith are contained in 24U’s Privacy Policy.

Loader Image