10 More Discussions You Might Find Interesting
I wish to make a process run in the background, but only one instance of it, and not many,
so when the program is loaded, it has to check whether another instance of the same
program is running and if so to exit. How do I do this ? (4 Replies)
Discussion started by: sundaresh
2. Red Hat
hey , i have to write a script to run a process through shell script and if the process runs successfully then return success.
i used nohup to start the process but nothing occured .
nohup ./cvt -f MediationSources.xml &
can anyone pls help me
Thanks (3 Replies)
Discussion started by: ramsavi
3. Shell Programming and Scripting
Say i have a simple example:
root@server # cat /root/scripts/test.sh
while sleep 5
echo "how are u mate" >> /root/scripts/test.log
Instead of using rc.local to start or another script to check status, I would like make it as daemon, where i can do the following:
... (2 Replies)
Discussion started by: timmywong
4. Shell Programming and Scripting
I have one query that is suppose if I have a script that pick up some files from source folder and put it into destination folder , and I want this script to run after every 1 hour, to make it configurable as per that I have options like crontab and nohup but when I test this script I have to... (2 Replies)
Discussion started by: nks342
5. Shell Programming and Scripting
I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months.
So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
6. Shell Programming and Scripting
I write a shell script which search file in particular folder and copy another folder.after that i compare two folder if file did not match then copy file from one to another folder.Both New and New1 folder contains file with different name.
The code of my script is here
... (4 Replies)
Discussion started by: shubhig15
7. Shell Programming and Scripting
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
8. Shell Programming and Scripting
I have about 500 binary files. I have a command to convert these files to text. The command usage is:
converter bin-file txt-file
I have to input the name of the binary file and the name of the text file. I'm thinking something like this will work, but not really sure:
for file in... (1 Reply)
Discussion started by: bbbngowc
9. Shell Programming and Scripting
I have simple shell script that I run as cron job every hour of the day. I would like to make it a daemon that runs far more frequently like every 30 seconds or so, but I have never made daemon before. How can I do this?
-Sam (7 Replies)
Discussion started by: Sammy_T
This is gonna seem really silly to almost evryone here - but I need to know :
what is a daemon process?
Thanks (6 Replies)
Discussion started by: Kanu77