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.

Need to run a script everyday at 5 am, how can I?

Featured Replies

I have a FM 10 DB hosted on a FM Server Advanced platform that I need to get to run a scriptdatabse everyday at 5 am and again at 12 noon to convert ODBC source records into usable records in the DB. At 5 am, no one is in the database but at 12 noon there may be people in the database. Any ideas on how I can do this? I looked into Install OnTimer Script, but this only works when a window is open, so that might work for the 12 noon, but what about the 5 am? I am sure that someone has done this and could help quite quickly!

I guess I could have it run the script when the 1st person opens the database, but would prefer not to have it in the open script. Any ideas would be great!

Elayne

You create the schedules in Server Admin.

  • Author

I set up a schedule on the server and now I get an error 643, unsupported script step. My script runs a loop process that sets variables with data from one table, goes to a new table and then creates a record in a new table and pastes the variables into the new records. The script runs fine when triggered in FM client. I have read that the server side script schedule does not like the exit loop after last step iin a loop, but I thought that the error was 101 for that. How do I isolate the unsupported script step???

  • Author

ok, so it was my display message box and I figured it out. Thanks for allowing me to put my thoughts in written form and get this wroking!

I set up a schedule on the server and now I get an error 643, unsupported script step. My script runs a loop process that sets variables with data from one table, goes to a new table and then creates a record in a new table and pastes the variables into the new records.

Paste? Not a good idea. Copy/paste should pretty much be eliminated, use set field.

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.