Skip to main content
New Participant
October 6, 2023
Answered

Scheduled tasks not working after migrating to new server

  • October 6, 2023
  • 1 reply
  • 466 views

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.

This topic has been closed for replies.
Correct answer Jim.F.

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.

1 reply

Jim.F.Correct answer
Participating Frequently
October 6, 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.

New Participant
October 6, 2023

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

Participating Frequently
October 6, 2023

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