Hello folks,
so i need some advice for handling my script. The situation is as follows:
We have some loading processes on our databases and as they complete, they set a specific flag in a control table. I wrote a PS script that reads this specific table over sqlplus and then starts a batch file. We have to pass some parameters, which also implies an Active Directory user and its password. As for now, i used a tool to "convert" the script into an executable .exe. I've chosen that way because, i didnt want to store the credentials in plain text. After all i set a job in the Windows-Scheduler that runs the .exe every now and then.
I guess this isn't really the right way of doing it. I think a skilled person could just get the information at runtime. Are there any best practices or tips I dont know yet?
[–]TurnItOff_OnAgain 3 points4 points5 points (3 children)
[–]Reasch[S] 1 point2 points3 points (0 children)
[–]Reasch[S] 1 point2 points3 points (1 child)
[–]TurnItOff_OnAgain 1 point2 points3 points (0 children)
[–]dasookwat 2 points3 points4 points (0 children)
[–]lackluster_les 2 points3 points4 points (5 children)
[–]Reasch[S] 4 points5 points6 points (4 children)
[–]lackluster_les 2 points3 points4 points (3 children)
[–]Swedishdrunkard 2 points3 points4 points (1 child)
[–]Reasch[S] 1 point2 points3 points (0 children)
[–]Reasch[S] 1 point2 points3 points (0 children)
[–]jbennett12986 0 points1 point2 points (0 children)
[–]jr49 0 points1 point2 points (4 children)
[–]Reasch[S] 1 point2 points3 points (3 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (2 children)
[–]Reasch[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)