Find Jobs
Hire Freelancers

ASAP: Create a bash script to act as a watchdog ran via cron

$25-50 USD

Terminado
Publicado hace alrededor de 7 años

$25-50 USD

Pagado a la entrega
I need a bash script which can be ran every minute from cron. The bash script must perform the following exactly. **check ifconfig to see if the interface tun0 exists: if not, run 'systemctl stop openvpn; sleep 1; systemctl start openvpn when fixed, send an email using ssmtp to every email address in /root/[login to view URL] **check if tun0 has an ip address: if not, run 'systemctl stop openvpn; sleep 1; systemctl start openvpn when fixed, send an email using ssmtp to every email address in /root/[login to view URL] **check if tun0 is down: if yes, run 'systemctl stop openvpn; sleep 1; systemctl start openvpn when fixed, send an email using ssmtp to every email address in /root/[login to view URL] **check if openvpn is running: if not, run 'systemctl stop openvpn; sleep 1; systemctl start openvpn when fixed, send an email using ssmtp to every email address in /root/[login to view URL] **check if tun0 ip address is the same as /root/[login to view URL] if not, send an email using ssmtp to every email address in /root/[login to view URL] with the new tun0 ip address and update the ip address in /root/[login to view URL]
ID del proyecto: 13153728

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 7 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Shouldn't take more than a day. I will need to know the content of the file that contains the mails. Thanks.
$50 USD en 2 días
5,0 (16 comentarios)
4,2
4,2
5 freelancers están ofertando un promedio de $67 USD por este trabajo
Avatar del usuario
Amazon Web Services: Lambda, API Gateway, EC2, Load Balancers, RDS, Elastic Beanstalk, Elastic File System, IAM, VPC, Security Groups, Cloud Formation,, S3, CLoudFront, Redshift, Route 53, Cloud Watch, Kinesis, SNS, SQS and etc. Advertising Technologies: Facebook Graph API's, FB Website Custom Audience, FB Dynamic Product Ads, Real Time Bidding, Retargeting Ads. Programming Languages: C, C++, Java, Go Big Data Technologies: Kafka, Flume, Pig, Memsql, Aerospike, Redis, MemCache and etc. Miscellaneous: Algorithms, Data Structures, Distributed Systems, Operating Systems Databases: Oracle, MySQL, Operating Systems: Windows, Linux, Ubuntu and etc. Web Technologies: HTML, PHP Code Deployments: Puppet, Docker Monitoring: Nagios, Ganglia
$149 USD en 0 día
4,9 (20 comentarios)
5,0
5,0
Avatar del usuario
Will it be possible to use your system for testing ? Or provide script and wait for tests and feedback only ? 2nd case will take a bit more time to complete Is ssmtp already configured ? I'd prefer to use ip link/ip addr if possible (ifconfig is deprecated nowadays and going to disappear in the future)
$50 USD en 1 día
5,0 (1 comentario)
3,4
3,4
Avatar del usuario
Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have checked your requirements.i have right skills to work on this assignment my award = superb result = happy client. In a good partnership, good results happen. Good cooking makes good eating!BWe consider our client as our partner. can u provide your email or sky-pe etc for further discussion about the project. I am ready to discuss with you with best Regards
$35 USD en 6 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
West Jordan, United States
5,0
148
Forma de pago verificada
Miembro desde dic 3, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.