FileMaker System-level Script (Mac) copy database
I'm looking for a way to make a copy of a production database and copy it to a test database. Would like to update the Test database maybe every 30days or so.
I have created a script and it works fine when I run it from the Mac in terminal.
I then used the FileMaker Scheduler to run a system script and I get the message Aborted by user. (I have to use the system admin account to get this message)
If I try to use the default account that FileMaker uses to run the script I receive invalid account. Default account is fmserver.
I have another script that is set to run with the default account and it works fine.
Here is the script.
cp -f "$source" "$destination"
Thanks for your time and help