I've got a simple yet lengthy script that does some server checks for me. The script will take a hostname or a list from a txt file (using $args). When run it chacks $args and then asks for a username and password. I'd need that script to run on schedule but not sure how to pass the username and password into it.
↧