I'm setting up an automated e-mail system that pulls queries from a MariaDB database and emails the outputs to my clients. I want these scripts to run daily, but they're being run from a server and I need to connect/log in to OpenVPN to connect to the MariaDB database. Is there a way for me to write a script that will connect to OpenVPN with my credentials so that these queries can be scheduled to run automatically?
Asked
Active
Viewed 26 times