Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Exporting and importing at specific times


eddyb2

This topic is 5803 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 5803 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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