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. WordPress (Managed)
  3. Run a plugin's cron file because wordpress php files are tucked away in "code" folder

Run a plugin's cron file because wordpress php files are tucked away in "code" folder

Scheduled Pinned Locked Moved WordPress (Managed)
4 Posts 3 Posters 641 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.
  • SupaikuS Offline
    SupaikuS Offline
    Supaiku
    wrote on last edited by Supaiku
    #1

    I'm trying to run a Wordpress CRM's cron file, and it calls for wp-load and wp-settings (and perhaps others).

    It seems copying them into the data directory (where they would exist for standard wordpress installs - that aren't docker based I suppose?) seems like it may work (still trying to get all the files needed in there - hopefully it's not just the whole directory - but if so...

    is that a problem?
    Any other ideas?

    The plugin docs:
    https://help.groundhogg.io/article/444-all-the-cron-jobs-for-groundhogg

    SupaikuS girishG 2 Replies Last reply
    0
    • SupaikuS Supaiku

      I'm trying to run a Wordpress CRM's cron file, and it calls for wp-load and wp-settings (and perhaps others).

      It seems copying them into the data directory (where they would exist for standard wordpress installs - that aren't docker based I suppose?) seems like it may work (still trying to get all the files needed in there - hopefully it's not just the whole directory - but if so...

      is that a problem?
      Any other ideas?

      The plugin docs:
      https://help.groundhogg.io/article/444-all-the-cron-jobs-for-groundhogg

      SupaikuS Offline
      SupaikuS Offline
      Supaiku
      wrote on last edited by
      #2

      @Supaiku seems like copying the files over doesn't work, it just throws a different error thinking the plugins aren't loaded.

      I will try just running wp cron every minute instead I suppose... per their helps docs
      https://help.groundhogg.io/article/506-what-to-do-if-the-gh-cron-is-not-verifying

      1 Reply Last reply
      0
      • jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #3

        Like most issues with WordPress on here the solution is likely to stop using the silly locked down WordPress (Managed) app, which IMHO shouldn't exist as it just causes problems for everyone, and switch to WordPress (Developer).

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • SupaikuS Supaiku

          I'm trying to run a Wordpress CRM's cron file, and it calls for wp-load and wp-settings (and perhaps others).

          It seems copying them into the data directory (where they would exist for standard wordpress installs - that aren't docker based I suppose?) seems like it may work (still trying to get all the files needed in there - hopefully it's not just the whole directory - but if so...

          is that a problem?
          Any other ideas?

          The plugin docs:
          https://help.groundhogg.io/article/444-all-the-cron-jobs-for-groundhogg

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

          @Supaiku cron tasks are already run every minute - https://docs.cloudron.io/apps/wordpress-developer/#cron-tasks . Can you give more information on what the issue is? What command did you run? What error did you see?

          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