ericdrgn last edited by girish
Any help with setting up a cron job for firefly would be appreciated. I am trying to follow this: https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/ but need some help with the paths needed as described in the docs. Shown below:
The content of the cron job must be as follows:
# cron job for Firefly III 0 3 * * * /usr/bin/php /var/www/html/artisan firefly-iii:cron
You must make sure to verify /usr/bin/php with your path to PHP and replace /var/www/html/ with the path to your Firefly III installation.
If you do this, Firefly III will generate the recurring transactions each night at 3AM.
Currently the app package already has the cronjob running as:
sudo -u www-data -E php /app/code/artisan firefly-iii:cron
with the pattern of
0 3 * * *so not sure what the issue is you are hitting.
@ericdrgn you don't need to add any cron jobs manually, it's part of the package. Maybe the cron section needs to make this more clearer. The cron section is only meant for some "custom" cron jobs you want to run.
ericdrgn last edited by
Thank you both! @girish @nebulon
I wasn't hitting an issue I was just being proactive, it does work as expected. @girish it definitely might be useful to have a section of that cron menu that at least displays cron jobs already running for any given package. I don't know though, only time I've ran into trying this out.
I have added a note in the docs and in the UI as well.