Find Jobs
Hire Freelancers

create a cron job to kill process if stuck for x number of hours - Linux

$30-250 USD

Closed
Posted over 9 years ago

$30-250 USD

Paid on delivery
Hello, We have a mplayer process which sometimes hangs for several hours or days until killed. We would like to create a cron job that runs every hour to kill these stucked mplayer process if they have been running for more than X number of hours. A sample stucked mplayer process is: root@debian:~# ps -o etime,pid,stime,time,cmd -C mplayer ELAPSED PID STIME TIME CMD 7-13:38:20 30306 Jul29 7-12:47:28 mplayer /storage/cgi-bin/uploads/00450/nnyb38w2tdqj -identify -frames 0 -quiet -ao null -vo null This project is to create the script that will be run via cron job. It will check to see if there are any mplayer process stucked for more than X number of hours and kill if so. Budget is about $40 Thank you.
Project ID: 6798907

About the project

34 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
34 freelancers are bidding on average $42 USD for this job
User Avatar
Hi there, i specialise in bash script, please see my past reviews about server administration and bash scripting. lets complete this project
$44 USD in 1 day
4.8 (886 reviews)
8.4
8.4
User Avatar
A proposal has not yet been provided
$44 USD in 3 days
4.9 (416 reviews)
7.5
7.5
User Avatar
Hello, I am an expert level Linux system administrator with more than 12 years of experiences. I can write a bash script to monitor and kill mplayer processes that run longer than 3 hours and can place it within crontab to run the script. I can deliver the script within hours with a very professionally coding/commenting. kindly let me know if you have any additional question & request, Regards, Pardus.
$30 USD in 1 day
5.0 (222 reviews)
7.1
7.1
User Avatar
Hi I can create this cron job in 10 mins for you! ****************************************************************************************************
$30 USD in 1 day
4.8 (231 reviews)
6.9
6.9
User Avatar
Hello! I'm Unix/Linux Expert with more than 7 years experience. I have this script ready for you. Contact me,
$45 USD in 1 day
5.0 (46 reviews)
5.6
5.6
User Avatar
Hello, I am an experienced linux admin working for a well known web hosting company in US. I have done these kind of projects before. This is a simple thing that we do for our clients daily. Please let me know when we can start. Regards Rahul
$30 USD in 0 day
4.2 (33 reviews)
4.4
4.4
User Avatar
Hi. I worked hosting company 4 years. Have experience in the administration of servers Linux, FreeBSD, Cisco etc. I am create scripts on sh, bash partially on perl. Many times did similar jobs.
$40 USD in 1 day
5.0 (19 reviews)
3.6
3.6
User Avatar
Can be done with many ways, I will provide documented details for any option we decide to implement :)
$40 USD in 3 days
5.0 (10 reviews)
3.5
3.5
User Avatar
hello. i am experienced unix administrator starting my freelancer career. can handle your project professionally.
$40 USD in 2 days
5.0 (13 reviews)
3.7
3.7
User Avatar
Hi, Hope you remember us. We can write a perl/php script and kept on cron to achieve this. Please discuss. Ready to start now. Thanks.
$40 USD in 3 days
5.0 (7 reviews)
3.0
3.0
User Avatar
Hello, I can write this script for you no problem. I am available to start immediately. Will be finished within a day.
$40 USD in 1 day
5.0 (5 reviews)
2.7
2.7
User Avatar
Hi, I can write you a shell script that kills mplayer processes that have exceeded the max runtime. I have lots of experience writing shell scripts and can have this done for you in no time. If you have any questions please let me know. Thanks, Derek
$35 USD in 1 day
5.0 (1 review)
1.4
1.4
User Avatar
I am using cron job for many times to run some automated task related to my projects. I will create shell script for you.
$45 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Предложение еще не подано
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have experience as system administrator. I can do within time. I have experince in shell scripting.
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hello , I'm skilled in shell and python programming. for your task, only a shell script and edit crontab
$30 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi there, I have already written similar kind of script for killing the application if running more than 2 hrs as per my company need.I am pretty confident about this to make your requirment work Best Regards, Rohit
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Recently started working as freelancer but I have been working on C and Linux from over 5 years. I am dedicated and stick to timelines
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, i would offer you a simple script written in php or perl, where you can handle the number of hours as command line parameter. I'm looking forward to support your project, Hawaiibernd.
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
NYC, Canada
5.0
50
Payment method verified
Member since Jul 1, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.