-
Hi, I've achieved a big milestone by installing FF and really like it. Now my challenge is getting reoccurring transaction (this post) and import (a separate post) going. Setup:
I see the alpine cron container running in Portainer with healthy status. I created the cronjob with
What I'm struggling to understand is if this is actually working. What I understand is that by calling When cron daily is executed, php of VM won't find any Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Mmmm, that cron job will not work. Like you say, there is nothing in that path. What you need is a little further down the page: https://docs.firefly-iii.org/how-to/firefly-iii/advanced/cron/#from-outside-the-container-cli My own cron job command is, for example:
It is slightly different from the manual, because I know what the container will be named. |
Beta Was this translation helpful? Give feedback.
-
Yes, you can force the cron job to run on a certain time or force it manually. For example, you can just type this on the command line and see what happens.
Of course, change the date to a date you expect the recurring transaction to be created. |
Beta Was this translation helpful? Give feedback.
Ok, thanks JC5. I think I got this working although I need to see if new transactions are created tomorrow as I still get errors when I try to run manually. :-) But now at least I understand that the cron container does all the work for you and you don't need to set anything other that the TOKEN in the .env and the docker compose files.
Using the image under "Docker compose" here, I modified the command a bit to
docker container ls --format '{{.ID}}\t{{.Image}}:\t{{.Command}}' | grep alpine
which gives me:and then run: