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.

Daily Script

Featured Replies

Looking for a way to create a script that runs daily, without having to restart my database file every day. Want to review a date field, and prompt an alert when certain conditions are met and a date field equals the current date.

Only idea I have is a start-up script, but that requires quitting the file every day.

Something easy I am missing?

Thanks!!

One option is to create a separate file that has one script, which you set as the startup script. This script will have two steps: 1. run the daily script in your target database, and 2. close itself. You could then use a scheduling utility such as iCal or CronX to launch this file once a day.

  • Author

Ah, creative! That is certainly a workaround I can use if there is no internal Filemaker solution. Thanks for the idea, I can make that work.

marK

You could also use a script trigger plugin such as zippScript. It doesn't do triggers at intervals like some of the commercial plugins, but you can schedule scripts to run at a specific day and time. So each time the script runs, one script step would tell itself when to run again.

If you have scripts that users commonly use, you don't need any separate files or plugins. You need a single record Resource table, with a date field for last updated. You create your updater script and modify it so that at the end, it updates the new date field.

In your common navigation scripts you add the following:

IF ( Resource::LastUpdated < get( CurrentDate ) )

Perform script [YourUpdateScript]

End If

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.