GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tech Server crons not running after move to Cloudflare (https://gfy.com/showthread.php?t=1321983)

Freedom6995 01-11-2020 04:57 PM

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 01-11-2020 06:10 PM

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

fuzebox 01-11-2020 06:17 PM

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

Freedom6995 01-11-2020 06:27 PM

Quote:

Originally Posted by euro1988 (Post 22592891)
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

Quote:

Originally Posted by fuzebox (Post 22592893)
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

Freedom6995 01-11-2020 06:42 PM

Quote:

Originally Posted by euro1988 (Post 22592891)
It may be due to caching policies on Cloudflare, did you try disabling them?

not that

shake 01-12-2020 12:56 AM

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.

PornDiscounts-V 01-12-2020 05:07 AM

Yeah... Stop using site URL for this.

Freedom6995 01-12-2020 06:16 AM

Quote:

Originally Posted by shake (Post 22592944)
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.

Quote:

Originally Posted by PornDiscounts-V (Post 22593002)
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...


All times are GMT -7. The time now is 08:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc