Server crons not running after move to Cloudflare

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Freedom6995
    Friends of Venus founder
    • Jul 2010
    • 1975

    #1

    Tech Server crons not running after move to Cloudflare

    Anyone have this issue? A solution is most welcomed.

    I've whitelisted my server IP at Cloudflare and whitelisted Cloudfare's IPs on server. Nada.
  • euro1988
    Confirmed User
    • May 2014
    • 243

    #2
    It may be due to caching policies on Cloudflare, did you try disabling them?

    COO
    E-mail and Skype:
    dominic[at]astrality.com

    Comment

    • fuzebox
      making it rain
      • Oct 2003
      • 22353

      #3
      Your "cron" is probably just being ran off of index.php when a visitor hits the site. You should be able to force it by visiting yourdomain.com/?randomstringhere to force a page load

      Comment

      • Freedom6995
        Friends of Venus founder
        • Jul 2010
        • 1975

        #4
        Originally posted by euro1988
        It may be due to caching policies on Cloudflare, did you try disabling them?
        I did for the particular url cron calls, but you have given me the thought to just disable the lot and see. brb

        Originally posted by fuzebox
        Your "cron" is probably just being ran off of index.php when a visitor hits the site. You should be able to force it by visiting yourdomain.com/?randomstringhere to force a page load
        not index via wp-cron, no. I can force it by what you suggest, but that's not the solution

        Comment

        • Freedom6995
          Friends of Venus founder
          • Jul 2010
          • 1975

          #5
          Originally posted by euro1988
          It may be due to caching policies on Cloudflare, did you try disabling them?
          not that

          Comment

          • shake
            frc
            • Jul 2003
            • 4663

            #6
            Cron tasks shouldn't really be run using a url. Instead run on the server itself running php directly on the command line to execute the script.
            Crazy fast VPS for $10 a month. Try with $20 free credit

            Comment

            • PornDiscounts-V
              Confirmed User
              • Oct 2003
              • 5744

              #7
              Yeah... Stop using site URL for this.
              Blog Posts - Contextual Links - Hardlinks on 600+ Blog Network
              * Handwritten * 180 C Class IPs * Permanent! * Many Niches! * Bulk Discounts! GFYPosts /at/ J2Media.net

              Comment

              • Freedom6995
                Friends of Venus founder
                • Jul 2010
                • 1975

                #8
                Originally posted by shake
                Cron tasks shouldn't really be run using a url. Instead run on the server itself running php directly on the command line to execute the script.
                Originally posted by PornDiscounts-V
                Yeah... Stop using site URL for this.
                cron is on server. Not working since moving to Cloudflare.

                I was wondering if anyone has had this issue...

                Comment

                Working...