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.

Script that will run automatically every 24 hours

Featured Replies

I have a filemaker solution hosted on a server, but I cannot run server side scripts. I need something in my filemaker database that will run every 24 hours regardless of wether it is open or not by a client. My goal is to have a script that will run every 24 hours and produce an email with an attachment of my current stock for about 12 items. The email and attachment I have created, but I don't know a way to run the script automatically. Any ideas?

Why can't you run server side scripts?

  • Author

it's hosted by online by a 3rd party service and I don't have access to run a server side script on their side. I can of course run as many and I want within my database, but not on their server.

Create a new database that performs a script when it opens. That script should perform your email script in the hosted database, then close the current database.

You can use a scheduled task in your OS to open the new database every 24 hours.

  • Author

I don't think that would work since many employees open it a couple times a day.

I don't think that would work since many employees open it a couple times a day.

I don't think you understand the process, because that's not a valid argument.

The concept is similar to an "opener" file: http://help.filemaker.com/app/answers/detail/a_id/5296/~/how-to-create-a-way-to-quickly-open-networked-files-in-filemaker-pro

Instead of just opening the database, this file performs a script, then closes. Also, it's opened via a scheduled task.

Since you only want the script to run every 24 hours, schedule it to run at night when nobody is using the computer that runs the task.

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.