[GNC] systemd / sqlite 3 file not found error
Chris Green
cl at isbd.net
Sun Dec 13 13:22:34 EST 2020
On Sun, Dec 13, 2020 at 09:57:46AM -0800, Colin Arndt wrote:
> Hi all,
>
> On Fedora Linux here, and I am trying to set up a systemd timer to pull
> price quotes once a week using gnucash-cli. Previously I was using cron
> to accomplish this, but would like to migrate to a systemd timer because
> this is on a laptop and I never know when it will be on or off. Systemd
> timers can handle missed execution times gracefully by simply running the
> command the next time the system is up.
> I've set it up to execute this command:
> /usr/bin/flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes
> get /path/to/Books-sql.gnucash
>
Use anacron, put the thing you want to run in /etc/cron.weekly.
On many systems it will actually use systemd to implement things but
anacron is the generic way of doing what you want to do.
--
Chris Green
More information about the gnucash-user
mailing list