System level scripts runs on macOS but never terminates

Discussion created by nielscastle on Sep 12, 2016
Latest reply on Oct 23, 2017 by hebertb

I am installing a fresh FileMaker on macOS El Capitan 10.11.6 (15G31) and I want to schedule a system-level script to run periodically.


I have created the schedule


Schedule type: System Script

Schedule name: Scheduled items

Script name filemac:/Macintosh HD/Library/FileMaker Server/Data/Scripts/

Script parameter

Script time limit (hh:mm) 00:01

Abort at time limit Enabled

Frequency Daily

Start date 9/12/16 1:17 AM

End date None

Repeat Run every day, Every 1 Hours 1:17 AM – 11:57 PM

Email notifications Enabled

Email addresses

Schedule Enabled Enabled


The script just touches a file in /tmp



touch /tmp/did_run.txt


I can see the file appearing in /tmp but the script is always terminated when reaching the time limit. I have tried 1 minute as well as 5 or 10 minute time limits. In the Admin Console the status is listed as


Aborted unexpectedly


And the log and e-mail sent contains the same information


2016-09-12 16:18:00.038 +0200   Error   642     FileMaker Server    Schedule "Scheduled items" aborted; unexpected error. (10022)


If I don't set a time limit the execution appears to continue indefinitely.


How can I make the scripts terminate nicely so I can differentiate real schedule errors from the false positives?