why do you wait to write file.txt?
instead of may you mail to yourself with contenst of the file.txt
in next cron work time is refreshes file.txt (overwrite file.txt) and you look the new mail for new informations
As far as I can tell, the bash wait command waits for a logical "AND" of all the child processes.
Assuming I am coding in C:
(1) What is the function I would use to create multiple bash child process running perl?
(2) What is the function I would use to reinvent the bash wait command so I... (4 Replies)
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
Hi
I have a shell script A which calls another 10 shell scripts which run in background. How do i make the parent script wait for the child scripts complete, or in other words, i must be able to do a grep of parent script to find out if the child scripts are still running.
My Code:
... (1 Reply)
Hi All,
I have two ksh script. 1st script calls the 2nd script and the second script calls an 'C' program.
I want 1st script to wait until the 'C' program completes.
I cant able to get the process id for the 'C' program (child process) to make the 1st script to wait for the second... (7 Replies)
I'm trying to do a program that makes activate an signal (SINGALARM) when the next child of a son appears but this not works.
I have to caught the next child o the other (pid), to send a singnal which inform a menssage.
It's anything worng in the code?
thanks.
the code:
#include... (2 Replies)
Hello. I want to make a child do some stuff,wait,then the parent does some stuff and then child does some stuff and waits again.I have made the following but it does not work.Can anybody help me?
pid1 = fork();
if (pid1 == -1)
{
perror("Can't create child\n");
... (18 Replies)
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
Hello all,
I have a very basic question. I have a requirement where in, I have a main process which forks a child process, which execs and runs a c executable corresponding to a daemon. In the c executable corresponding to a daemon, as everyone does, I fork another child process, and as part of... (7 Replies)
Hi all,
I am starting mgen5 for sometime depends on input from a file, in a child process. now I want to make parent to wait in this child process till mgen5 finishes, or timeout happens.
could anyone please tell me how to make parent to wait in child process in shell script?
thanks... (2 Replies)
Hi
I am facing a problem in my ksh.
My main script is calling 3 different child process in the background.
I am using wait to finish all and then submit another 3 child processes.
Now what i want is , whenever any one child process finishes ,i want to submit next one.so that parallel 3... (2 Replies)
Discussion started by: Sangu
2 Replies
LEARN ABOUT DEBIAN
sup-mail
SUP(1) General Commands Manual SUP(1)NAME
sup-mail - Sup, a thread-centric mailer with tagging and fast search
SYNOPSIS
sup-mail [options]
DESCRIPTION
This manual page documents briefly the sup-mail command.
Sup is a console-based email client. The command sup-mail invokes the interactive curses frontend. Several other commands are used to con-
figure Sup and add mail sources; please refer to the "New User's Guide" for details.
OPTIONS --list-hooks, -l
List all hooks and descriptions, and quit
--no-threads, -n
Turn off threading. Helps with debugging. (Necessarily disables background polling for new messages.)
--no-initial-poll, -o
Don't poll for new messages when starting
--search, -s query
Search for this query upon startup
--compose, -c recipient
Compose message to this recipient upon startup
--version, -v
Show version of program
--help, -h
Show summary of options
FILES
$HOME/.sup/colors.yaml Color theme for Sup, see /usr/share/doc/sup-mail/examples for example themes
SEE ALSO mail(1), sup-add(1), sup-cmd(1), sup-config(1), sup-dump(1), sup-import-dump(1), sup-recover-sources(1), sup-server(1), sup-sync(1), sup-
sync-back(1), sup-tweak-labels(1)
/usr/share/doc/sup-mail/NewUserGuide.txt.gz
AUTHOR
Sup was written by William Morgan <wmorgan-sup@masanjin.net>.
This manual page was written by Decklin Foster <decklin@red-bean.com> for the Debian project (but may be used by others).
SUP(1)