Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Scheduled tasks not working after migrating to new server

New Here ,
Oct 06, 2023 Oct 06, 2023

Good morning, Im hoping to get some help with an issue with CF2021 when migrating to new server. Hoping something simple to look for but since setting up CF on a new box, my schedulede taks no longer work. I keep getting the Connection Failure: Status Code Unavailable. We did nothing different with the install of CF, and dont understand why this isnt working.

TOPICS
Advanced techniques , Security , Server administration
336
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Oct 06, 2023 Oct 06, 2023

Ran into something similar on a windows box with sites being served by IIS. If that's what you're on, check the web.config file at your site root/destination folder to see if you're redirecting traffic to https. If yes, change your scheduled task to run using https or - if you don't have a security certificate as it's a new machine - you could create up a rule to match the folder you're calling and add in a rule to match the destination with stopProcessing="true" and action type = "None" - there

...
Translate
Explorer ,
Oct 06, 2023 Oct 06, 2023

Ran into something similar on a windows box with sites being served by IIS. If that's what you're on, check the web.config file at your site root/destination folder to see if you're redirecting traffic to https. If yes, change your scheduled task to run using https or - if you don't have a security certificate as it's a new machine - you could create up a rule to match the folder you're calling and add in a rule to match the destination with stopProcessing="true" and action type = "None" - there are lots of resources out there on how to do that better than I could explain.  Just a thought.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 06, 2023 Oct 06, 2023

Yup, thats what did it for me...thank you so much!!!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 06, 2023 Oct 06, 2023
LATEST

Glad it worked! That kind of thing can be maddening. Happy to help when I can.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources