Forums

Connection to Atlas from scheduled or always-on task

Hi, The scripts that I need to run connect to a mongodb on the official server. They are working flawlessly with the console. (But the console get randomly restarted sometime and need to be manually opened). But in the scheduled or always-on task I get a DNS error even if the correct DNS library is installed.

Let us have a look at this issue during week.

Perfect, thank you

Are you getting the DNS errors consistently? We're aware of an issue with always-on tasks that can manifest as occasional DNS lookup issues, but they would be very sporadic and that would not affect scheduled tasks.

If it's a consistent thing, could you post the full error message?

Yes, 100% of the time. I post a screenshot in a few min/hr

Look like it's working now! I don't know what was different the other day. Sorry for losing your time.

No problem -- please let us know if it comes back!