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

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

    WordPress (Managed)
    3
    4
    34
    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.
    • Supaiku
      Supaiku last edited by 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

      Supaiku girish 2 Replies Last reply Reply Quote 0
      • Supaiku
        Supaiku @Supaiku last edited by

        @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 Reply Quote 0
        • jdaviescoates
          jdaviescoates last edited by

          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 Reply Quote 1
          • girish
            girish Staff @Supaiku last edited by

            @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 Reply Quote 0
            • First post
              Last post
            Powered by NodeBB