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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Firefly III
  3. CRON Help

CRON Help

Scheduled Pinned Locked Moved Firefly III
cron
5 Posts 3 Posters 1.3k Views 3 Watching
  • 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.
  • ericdrgnE Offline
    ericdrgnE Offline
    ericdrgn
    wrote on last edited by girish
    #1

    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.

    girishG 1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      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
      0
      • ericdrgnE ericdrgn

        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.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @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
        1
        • ericdrgnE Offline
          ericdrgnE Offline
          ericdrgn
          wrote on last edited by
          #4

          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
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search