FileMaker Server scheduled bash script could not be found or is invalid.

If you are using FileMaker server to execute bash scripts be sure to check the first line to see that is includes the bang after the hash (#!/bin/bash).  I  ( and many others as revealed in a google search ) accidentally erased the bang while commenting a bash script and found out what happens. If you do this, you will see an error in the event.log file on FileMaker server when executed which looks like this.

Schedule “schedule_name” aborted; “scriptname.sh” could not be found or is invalid.

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.