Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    CRON Help

    Firefly III
    cron
    3
    5
    232
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ericdrgn
      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.

      girish 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @ericdrgn last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • ericdrgn
            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.

            Thanks again.

            1 Reply Last reply Reply Quote 0
            • girish
              girish Staff last edited by

              I have added a note in the docs and in the UI as well.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB