> On Apr 23, 2018, at 2:23 PM, Justin Phelps <jus...@onitato.com> wrote: > > I'm hoping there's a command line method for generating reports from a > gnucash file. I want to script a series of daily, weekly, and monthly > reports that are automatically emailed to certain people. I can achieve the > scheduling and emailing from my server, but having some way to get this > data out from gnucash without clicking through the interface would be > really useful. > > How would you approach this challenge?
GnuCash can be scripted in Scheme via $GNC_DATA_HOME/custom-user.scm. Since that's read and acted upon at every startup I suggest that you create a user specifically to generate the reports and and create a custom-user.scm for it and put the jobs in its crontab (or use it to create the Scheduled Action scripts if you're on Windows). Regards, John Ralls _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.