Click here to Skip to main content
15,434,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We are using task scheduler to trigger event in a specific time and it is calling one api method which host in iis at the time of creation task scheduler we are sending userid and password but every month password is going to be change due to this task scheduler is not working. How can we fix this issue without entering new password?

What I have tried:

we tried to check where without password task scheduler will call api or not
Updated 7-Jul-22 19:50pm

1 solution

If the API requires a password to be given when your app accesses it, then it doesn't matter if the app is run through the task scheduler or not: if the remote software changes the password then the app needs to be updated in some way to reflect that.

That process probably can't be automated, unless the password changes are predictable, and that's very unlikely as it reduced security significantly.

Your best option is to talk to the API creators and explain your problem to them - they may be able to help but we cannot: we just don't have anywhere near enough information to tell or any access to the API or your app!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900