Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How can I command ExpressVPN to start on boot?

Writer Emily Wong

I want to issue this command every-time the computer boots

expressvpn connect

I've tried making it into a service and adding it to the crontab with no luck. Maybe it's late or maybe I'm really not understanding my new Linux friend and how he works.

My crontab looks like this

@reboot expressvpn connect

After reading some comments, I believe it is not working due to me not providing the full path. How can I determine the full path?

6

2 Answers

"expressvpn connect" doesn't work on reboot as there's no previous connection for the session, you'd need to either specify the server or use the "smart" connection type. The crontab entry to connect to the fastest server would then be @reboot /usr/bin/expressvpn connect smart.

You can try which expressvpn which will tell you where the binary is located. This is /usr/bin/expressvpn by default.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy