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.

Run a Script on a Weekly basis?

Featured Replies

I have a client who would like his database to automatically generate a certain report every Monday morning.  I thought there was a script step that could achieve this sort of thing but now I'm not so sure. I guess Filemaker isn't constantly checking the time after all, right?

I suppose I could have a start-up script that checks the day / time when the file is opened and produces the report under certain conditions . . . but if the file is just left open, there's no way to trigger a script to fire at a certain time every week?

Essentially, the client wishes to have certain information "pushed" at him at the beginning of each week so he doesn't have to remember to check it.  Is this achievable?

Is the file hosted?

If not, what is your client's OS?

 

  • Author

No, this is for a stand-alone database living on a single computer -- running on current Apple OS.

I believe your best option is to schedule a repeating event using the Calendar application and have it open a file. The file itself would be a simple FMP file that runs a start-up script that calls the report script in your "real" file, then closes itself. 

The other option is to install an OnTimer script - but I found that to be very inaccurate and I wouldn't use it for such a long interval. And of course it wouldn't work if the file weren't already open.

 

  • Author

Thanks very much for these suggestions!

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.