1

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?

Landmine
  • 121

2 Answers2

1

"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.

Reactive
  • 11
  • 1
0

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

huberu
  • 1