10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
I have the following script named ./daemonscript
while true
do
#echo string to file results
echo ok >> results
#commands
sleep 2
done
I call it the following way : ./daemonscript &
and I want it to stop when the user presses the "S" button together with... (5 Replies)
Discussion started by: vlm
5 Replies
2. Shell Programming and Scripting
Hi,
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
2 Replies
3. Shell Programming and Scripting
Hi
I was going through one of my pjct script .Please let me know the logic for the deamon is running or not as i think the condtn should be vice-versa.
daemon_list = 'idp1278'
FAIL=0
for p in ${daemon_list}
do
fail=0
ps -fu workarea | grep ${p} > /dev/null 2>&1
if ] then
... (1 Reply)
Discussion started by: mani_isha
1 Replies
4. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
5. Shell Programming and Scripting
Hi Guys,
I hope this is the right forum to post this.
I have a directory where files will be dumped at any time of the day and I want to run scripts as soon as new files come into the directory.
How can I write a daemon that detects when new files have been uploaded to the directory?
... (1 Reply)
Discussion started by: regie101
1 Replies
6. Shell Programming and Scripting
Hi everybody,
Does somebody has a sample of script that control a daemon?
for example use loop until the daemon is on and if is not on
do something else?
Thanks
Pier (0 Replies)
Discussion started by: pierrelaval
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am new to this forum and this is my first post here...
I have never worked on either Pro*C or Multithreading..Now, i have to write a Pro*C, Multithreading daemon process.. I dont know where to start.. Can anybody help me with examples?
1. need to write a Pro*C multithreading... (0 Replies)
Discussion started by: kachiraju
0 Replies
8. Shell Programming and Scripting
Hi
I have a directory where sometimes a file will come (in a name format say file001.txt).
I want to run a job (.ksh file) as soon as a new file comes into the directory.
How can I write a shell script which will run in the background and monitor arrival of new file in the directory?
... (11 Replies)
Discussion started by: sbasak
11 Replies
9. Shell Programming and Scripting
hi,
can i run a shell script as a daemon ?
the shell script looks like this :
can this be run as a service ?:
thanks
regards
shann (1 Reply)
Discussion started by: massoo
1 Replies
10. Programming
Hi ,
I want to know how to write a daemon process. I also want to know the concept behind daemon processes. Any material or sample program will be great :) .
Thanks in advance
-sg (2 Replies)
Discussion started by: sg6876
2 Replies