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.

Featured Replies

I have a script that uses "Save a Copy as" to save a copy of the database to a specific network drive.

this is working great....but I want it to happen at a specific time every day automatically.

 

I've been reading up on onTimer but I'm still missing some important pieces to make it work.

 

There are also some some questions I have about it. If I assign a timer to a layout and there are 7 people in the database, does the back up happen once or 7 times?

 

What's the best way to do this?

Jason

If you have 7 users in the database, you really should be thinking about deploying FileMaker Server.  Then this problem goes away and you can use the FMS schedules for backups.

 

Peer-to-peer sharing in 13 is limited to 5 users max.

  • Author

I would still like to know how the timer works.

Thanks

http://www.filemaker.com/help/13/fmp/en/html/scripts_ref1.36.18.html#1044171

 

You can set an interval but not a specific date and time.  Obviously you can have the script check for what day and time it is and do the "save as" on the desired day and time and do nothing for the other runs.


 If I assign a timer to a layout and there are 7 people in the database, does the back up happen once or 7 times?

 

 

You assign an OnTimer to a window, not a layout.

 

It will run everywhere you install the timer on.  So if you install it in each user's session then it will run in each user's session.

 I want it to happen at a specific time every day automatically.

 

I don't think installing an OnTimer script is a good way to handle this. I'd suggest you look into OS scheduling instead, using an "opener file" to trigger a script in the "real" file.

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.