Reset the Default openvpn Account Admin Access

Commands to reset the openvpn account You can execute the following commands as a root user from the command-line interface (CLI) to create or reset the local administrator account using the username openvpn. It accounts for all of the above cases and should...

How to schedule a task to call a URL

Sometimes you have a task that you want to run every x minutes i.e. updating order statuses or sending abandoned cart emails. There are a few ways you can do this but our preferred method at The Site Doctor is to setup a Powershell Task in Windows Task Scheduler as...

How to setup OpenVPN Client on Ubuntu

First you need the openvpn package: sudo apt-get install openvpn Then you can connect like this: sudo openvpn –config /path/to/config.ovpn The sudo is important because OpenVPN won’t be able to connect otherwise (I think because it has to change...

How to run scripts on startup?

One approach is to add an @reboot cron task: Running crontab -e will allow you to edit your cron. Adding a line like this to it: @reboot /path/to/script will execute that script once your computer boots up.