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.

FMServer 10 scheduling script

Featured Replies

  • Newbies

Hi, i want to schedule a script that read and write some files into server's documents folder.

Can i do that with scriptmaster? I registered my function writetofile() in startup script and it's ok locally.

In server does not works. I need to buy a Enterprise Licence? Where can i buy it?

Thkns

ScriptMaster does not have an Enterprise License. There is only the free version and the Advanced Version ($95). There is no limitation on the free version as it will allow you to use the plugin with FM Server. The ScriptMaster Advanced license allows you to create custom plugins (with whichever modules you choose), provides access to the FileMaker SQL engine and the FileMaker clipboard.

If the plugin is installed correctly and the function is being executed, this may be a permissions issue. Make sure the FileMaker Server user has read/write access to the directory you wish to use. Also, make sure you have the plugin installed in the correct directory for running server scheduled scripts. Are you error checking and logging the function response in some way? This is a very useful approach when debugging scheduled scripts.

Also keep in mind that there are three ways to implement ScriptMaster modules. It sounds like you are using the 'register on startup' option. This will work fine but will only register the modules when the ScriptMaster file is first opened. It may be easier to use the 'Copy to clipboard' option with the RegisterGroovy function which eliminates the need to open the ScriptMaster database file.

Also, as I mentioned above ScriptMaster Advanced allows you to create custom plugins. You may find this to be the simplest option of all as you can install the plugin you create on the server This option also includes access to the FileMaker clipboard and SQL engine. Also, any custom plugins created are yours to keep even if you do not renew your ScriptMaster Advanced license.

If you are still unable to determine the cause here, I'm happy to take a look at the log file from the server if you'd like to send it to me via direct email.

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.