Search code examples
phpfilemaker

Control filemaker server console from outside [php API]


I want to change file status of some files in FileMaker console using a cron / schedular job.

I have not found any other ways of doing this . No apis available .

If anyone know ant third party apis or Filemaker plugins , please suggest.


Solution

  • Apart from FileMaker console there is only one way to control FileMaker Server - it is bash commands on Mac or cmd on Windows.

    I saw solutions before which run server side scripting and control Filemaker Server. I suppose you can do this with PHP as well.

    e.g. to close all databases

    fmsadmin close -y -u admin -p pword
    

    Here is the link to kb article:

    http://help.filemaker.com/app/answers/detail/a_id/14167/~/filemaker-server-command-line-reference