November 29, 200916 yr Hi all, I hav a general problem to get a bash-script running on Filemaker 10 Server OSX. When I run a script in terminal, everything works fine. I even can run the script with mouseklicks. Also simple scripts like: #!/bin/bash echo "hallo" do not work. Finally I would like to run the script below. To save a backup 7zip compressed to another disk. On the 'Server-Log' (in German 'Protokollanzeige') I get the Message: Error 692 Systemscript "BackUp.command" did return Not Null Status 2 #!/bin/bash rm /Users/admin/Dropbox/Kiprax_fp7/kiprax_emma.7z; /Users/admin/BackUp/7za a -r -t7z -mx=5 -ppassword /Users/admin/dropbox/kiprax_fp7/kiprax_emma.7z /Users/admin/BackUp/*.fp7 What could be wrong? Joseph
November 29, 200916 yr This is probably an OS level permissions issue. FileMaker Server runs in its own security bubble. The OS level scripts possibly do not have the appropriate privileges when run from FileMaker Server. It's also likely the script lacks "executable" privileges. Use something such as BatchMod to change that. Regarding the backups and zips, take a look at Backups, Backups, and More Backups from Wim Decorte's superb web site. HTH. Steven
November 29, 200916 yr Author Hello Steven, thank you for your post. It was as we would say: "you hit the nail on its head". I thougt to have checked all the permissions. But the destination-Folder was only on read for the 'fmadmin' Group. Joseph
Create an account or sign in to comment