AnsweredAssumed Answered

OS X, run sqlite3 commands via FMS schedule?

Question asked by disabled_ScottKoontz on Apr 11, 2013
Latest reply on Apr 12, 2013 by disabled_ScottKoontz

FMS 12, OS 10.8.3

 

I'd like to fully automate a process that includes running some sqlite3 commands to create special text files (that will then be imported into FM).

 

Using Terminal, I would be typing:

 

sqlite3 DB-NAME

 

to create a table, and then running some .read commands for the rest. What am I missing when I create the following script?

 

#!/bin/bash

sqlite3 DB-NAME

 

Permissions are correct, resulting error is a vague "Aborted by user".

Outcomes