Cron don’t run with cloudflare enabled

We tried to run the cron jobs directly through the cloudflare service.
When we run them through cloudflare without the proxied setting, the crons run normally.
Then after we restored the dns record to proxied and tried again we got the specific error.
TypeError: Too many redirects.

This cron update the products through an ERP that is connected through the link with my site. I own a dedicated server.

Here are the 3 crons

/usr/bin/wget -q --no-cache --spider “https://www.happyplace.gr/diaxirisi.php?password=v4s1lisBo0ks&dispatch=nt_softone_sync.products” >/dev/null 2>&1
/usr/bin/wget -q --no-cache --spider “https://www.happyplace.gr/diaxirisi.php?password=v4s1lisBo0ks&dispatch=nt_softone_sync.updated_products” >/dev/null 2>&1
/usr/bin/wget -q --no-cache --spider “https://www.happyplace.gr/diaxirisi.php?password=v4s1lisBo0ks&dispatch=nt_softone_sync.orders” >/dev/null 2>&1

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.