Skip 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.

Exporting and importing at specific times

Featured Replies

Hi all

I have an export script and an import script setup.

The database is hosted on FMServer 9 running on Windows Server 2008

At 2am I would like the export script to run

At 3am I would like the import script to run

Is it possible in FM to set a time for a script to run?

It is unlikely that anyone will have the database open on a client at that time but not definite.

Thanks

  • Author

I have just found the schedules section in the FileMaker Server 9 Admin Console and found the opton to schedule a script. Perfect.

Ed

Your plan is flawed...

The EXPORT and IMPORT script steps won't run on FMS. FMS only supports the script steps that are WEB COMPATIBLE.

What are you trying to achieve?

  • Author

You have just helped me with my calculation export- it is for that.

In the early hours of the morning I want that export script to run to create a "request file".

This request file is then FTP'd off somewhere (this is done using external software)

I then have to wait for an hour for a response file, which again using extenal software, I grab from the FTP site and bring down to the server. I want that to then be imported, using my script, back into the database.

Probably as clear as mud but hope you can make sense of that!

Have a look around for a plug-in that runs on FMS.

Troi have a good history.

Another option is the "robot": run your script on a FileMaker client. Typical setup:

- A local FileMaker file that runs a script on open

- The open script calls the script on the server (your import or export script), and then closes the file

You can set up windows task scheduler or some other utility to launch this file. The rest is all FileMaker.

  • Author

Thanks Fitch, sounds like a plan, will give it a try.

Is there a specific way to ensure the script runs on the server rather than on the robot PC?

Thanks

I may not have been clear enough: the purpose of the local file is to supply a target for the task scheduler.

The local file runs a script that opens the hosted file, does whatever processing is needed, then closes.

Everything happens on the local machine, using a hosted file. If you set up the correct file reference in the local file pointing to the hosted file, that is all the assurance you need.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.