Find Jobs
Hire Freelancers

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

$25-50 USD

Đã hoàn thành
Đã đăng vào hơn 7 năm trước

$25-50 USD

Thanh toán khi bàn giao
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]
Mã dự án: 13153728

Về dự án

4 đề xuất
Dự án từ xa
Hoạt động 7 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
Shouldn't take more than a day. I will need to know the content of the file that contains the mails. Thanks.
$50 USD trong 2 ngày
5,0 (16 nhận xét)
4,2
4,2
4 freelancer chào giá trung bình $71 USD cho công việc này
Avatar người dùng
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 trong 0 ngày
4,9 (20 nhận xét)
5,0
5,0
Avatar người dùng
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 trong 6 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
West Jordan, United States
5,0
155
Phương thức thanh toán đã xác thực
Thành viên từ thg 12 3, 2012

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.