Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

End cron job at certian time

Status
Not open for further replies.

devilman0

IS-IT--Management
Nov 14, 2002
257
US
I am new to linux, so i apoligize in adavance.
I have redhat 9 setup. I have a cron job that runs seti@home at a certian time. In windows there is an option to stop the task if it runs for a length of time. I would like to do this. The task does run using the aforementioned cron job. Thanks in advance.

Thanks,
James
[afro][mad]
"Make it idiot-proof and someone will make a better idiot." ~bumper sticker
 
Don't know if there is anything off the bat, but you could create a script that will end the seti@home daemon...

Then just put an entry in your crontab file to run that script.

J.R.
 
Hmm, will give that a try, thanks for your help.

Thanks,
James
[afro][mad]
"Make it idiot-proof and someone will make a better idiot." ~bumper sticker
 
yeah, you can always write a shell script that
Code:
kill
s a process.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top