ZodiacUHD
Patron
- Joined
- Aug 28, 2015
- Messages
- 226
Hello everyone,
I looked through the forum but i really didn't get how to setup a cronjob or a script to restart a service (or a jail). I set up transmission with openvpn and PIA, when the connection with the VPN is lost, everything stops. Since i'm not always able to access my NAS, i'd like to setup a script to restart transmission and openvpn on a daily basis.
How can i do it?
Also, i'd like to restart daily a jail running ombi (since for reasons beyond my knowledge, it stops working every once in a while).
Thank you very much!
I looked through the forum but i really didn't get how to setup a cronjob or a script to restart a service (or a jail). I set up transmission with openvpn and PIA, when the connection with the VPN is lost, everything stops. Since i'm not always able to access my NAS, i'd like to setup a script to restart transmission and openvpn on a daily basis.
How can i do it?
Also, i'd like to restart daily a jail running ombi (since for reasons beyond my knowledge, it stops working every once in a while).
Thank you very much!