Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stopping an errant server side script

Featured Replies

We scheduled a server side script to run on our FMP 11 Server Advanced (running on Windows Server 2003) and forgot to set a time limit for it. Doh!

The script has now been running for more that 36 hours, so we guess it must be looping or something. Unfortunately it is proprietory Filemaker code from a third party, so we have no access to the script to determine the problem.

We can't stop the script because the server is the current user and won't log off. The server is a production system so we can't just stop it and start again. There seems to be nothing in the Admin Console that helps with this situation, and nothing in the Documentation or Help files about how to stop this script.

I've seen a suggestion that we need to kill off a process on the server in order to stop the script running. We can't find an obvious process and anyway, we are not sure that killing an active process on the server is a good idea.

Can anyone help?

Thanks

Brian

In the Client tab, find the server client running the script and disconnect it. That usually fixes the problem. Better double check what is happening here though. In Server 11 you can set a maximum time that the script is allowed to run.

Steven

  • Author

Thanks Steven

I selected the server's client connection right-clicked and selected 'disconnect' A dialog box was presented to allow me to send a message to tell the 'server' client that it would be disconnected in 2 minutes. I left this blank and clicked OK.

8 hours later the script is still running. I checked the server log file - this reports the request to disconnect, then two minutes later that the disconnection was successful. Not apparently so.

(Yes, after I found the script wouldn't stop, I also found the place to set a maximum time for the script to run. Doh!)

Can you suggest anything else?

Thanks

Brian

make sure no other clients are connected, run a backup and then stop the FMS service. Revert to the backup you just took.

  • 1 year later...

Hmm, this is how I did this in FM 11 SA:

 

Not sure if it’s best practice, or that I’m just doing a symptom relief

 

1) Copy Schedule

2) Delete old Schedule

3) Re-enable new Schedule

You can also follow few steps to stop the scheduler-

 

1) Ask all clients to close their application and stop accessing server files.

2) STOP the FM server and exit the FMS application

3) Open FMS application and start the server

4) Go to FMS -> Schedules and select the scheduler

5) Right click and select option - Disable Selected Schedules

 

This can help you to stop running the scheduler currently and in future. If you do not want to keep the scheduler you can select option - Delete Selected Schedules.

Hope this can help you.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.