AnsweredAssumed Answered

Running a script on the server

Question asked by nolak37 on Sep 27, 2011
Latest reply on Sep 28, 2011 by philmodjunk

Title

Running a script on the server

Post

I have 3 servers ser up at remote locations and want to do incremental backups, I created a script to do this.

The script is a 2 part, the first goes theough every layout on both DB's and shows all records to ensure nothing gets skipped. Then the second part goes to the first layout and does an import records, no dialog "file"; update matching; windows ANSI. then sorts all records by ID and goes to last record and sets next serial number to this ID plus 1.

This script continues going though all layouts inporting all records.

Everything works as expected when I log onto the server and run it through filemaker however when I create a schedule to automatically run this every night it doesnt work, Gives me error codes 4, 5, and 100 and does not import anything.

Anyone know what I might be doing wrong?

 

Thanks

Outcomes