LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-19-2004, 12:15 PM   #1
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Rep: Reputation: 30
Start up script...


I use tcsh and I have a .tcshrc file that I keep my settings in but I have a lot of processes running on a cluster and need to know everytime it reboots (which should be very infrequent) so is there file I can put in my home directory that will be executed everytime the server is rebooted? Or how could I go about doing that?
 
Old 10-19-2004, 01:25 PM   #2
rkmalik
LQ Newbie
 
Registered: Oct 2004
Location: UK
Posts: 13

Rep: Reputation: 0
rc.local

hiya,

add your processes to /etc/rc.d/rc.local file, which is linked to /etc/rc3.d/S99.local

Hope this helps
 
Old 10-19-2004, 01:51 PM   #3
podollb
Member
 
Registered: Oct 2003
Location: Grand Forks, ND
Distribution: Suse/Slackware/RH
Posts: 161

Original Poster
Rep: Reputation: 30
I don't have root access.

I have been thinking a bit since my post and was thinking I could setup a cron job to check something to notify me if something has changed since last reboot. Like is there a file that states when the last reboot was? I know uptime must subtract against something, but is that regular user accessible?
 
Old 10-19-2004, 04:38 PM   #4
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
when your jobs start, do they log anything in /var/logs?

or setup a cron job to check uptime on the server every 10-15 minutes
if the reply is less than your interval, then restart the processes?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting script to start at boot short101 Debian 2 01-24-2005 06:32 AM
How to start a Tcl/Tk script by simply invoking the script file itself ? cyu021 Programming 2 10-10-2004 11:00 AM
start up script run once ?? johnyy Linux - Software 1 12-28-2003 01:59 PM
Oracle Start Up Script linux_pioneer Linux - Software 1 09-16-2003 05:44 AM
what is the start-up script for slack?.... purpleburple Linux - Distributions 5 07-29-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration