Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5957 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I've got a script that backs up my FMP file's data called "Backup System"... when the file initially opens it runs "AutoBackup" (see screenshot), which runs the backup script, sets a time field to the current time + a # of minutes designated by the user, then runs the "CallScriptAtScheduleTime" function using an unstored timestamp (i.e. "AutoBackup_Next_TS") equaling the current date and that future time and the script called is "AutoBackup" (therefore, the script just keeps calling itself ever X minutes).

Strange thing is that it wasn't working so I opened the script window and started poking around, and then it just ran! However, I haven't been able to reproduce this since. Can anyone see any logic problems in the included script or suggest why it isn't working? (by the way, the $$Timer variable is getting a result of "1", which I assume means it's okay)

Thanks in advance!

Gary

Picture_1.png

  • 2 weeks later...
Posted

Hey Gary - I don't see anything obviously wrong with the script. Is this with FileMaker Pro client, or is this running on the server? One thing you might try is putting in the actual file name instead of using Get(FileName) - maybe somehow when ScriptMaster initially triggers the backup script, it gets re-queued with the wrong filename.

What is the purpose of the Go To Field[] steps?

Posted

Gary, the fix that I posted for Salvador in version 2.02 may apply to your problem as well. Please get the latest version (2.02 at the moment) from http://www.360works.com/scriptmaster and see if that helps.

This topic is 5957 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.