Hi friends,
I do not have much thoughts so need any help on the below issue:
I need to create shell script that will find the files & throw an error through job (autosys) when file not found.
Daily we use to receive 3 files from a system.
Obstacles:
1) All 3 files names are same.
2)... (4 Replies)
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Hi Guys,
I hope anyone can help me on how to create a watcher-script. The script will act as watcher wherein whenever it will find an error (say the word Error) in a file, it will prompt the user.
Please help!
br,
rymnd_12345 (3 Replies)
Hi Experts
I will have be having 3 types of files in directory
file1_p0_date
file1_p1_date
file1_p2_date
As soon as it sees any of the files it needs to kick off another process and also would need the file name
For this I am creating a file watcher script which will look for file1* My... (2 Replies)
Hi
Please help me in this
I want to execute a shell script abc.ksh.
But I only want it to execute if file XYZ is not present.
If file XYZ is present than I want to unix to sleep for 5 Sec and than agaian check for XYX existence.
if it sleeps for more than 30 seconds ( 6 time )I want it to... (3 Replies)
EVCHILD(3) 1 EVCHILD(3)The EvChild classINTRODUCTION
EvChild watchers trigger when the process receives a SIGCHLD in response to some child status changes (most typically when a child dies or
exits). It is permissible to install an EvChild watcher after the child has been forked(which implies it might have already exited), as
long as the event loop isn't entered(or is continued from a watcher), i.e. forking and then immediately registering a watcher for the child
is fine, but forking and registering a watcher a few event loop iterations later or in the next callback invocation is not.
It is allowed to register EvChild watchers in the default loop only.
CLASS SYNOPSIS
EvChild
EvChildextends
EvWatcher
Properties
o public$pid
o public$rpid
o public$rstatus
Inherited properties
o public$is_active
o public$data
o public$is_pending
o public$priority
Methods
o public EvChild::__construct NULL (int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])
o finalpublicstatic object EvChild::createStopped (int $pid, bool $trace, callable $callback, [mixed $data], [int $priority])
o public void EvChild::set (int $pid, bool $trace)
Inherited methods
o public int EvWatcher::clear (void )
o abstractpublic EvWatcher::__construct (void )
o public void EvWatcher::feed (int $revents)
o public EvLoop EvWatcher::getLoop (void )
o public void EvWatcher::invoke (int $revents)
o public bool EvWatcher::keepalive ([bool $value])
o public void EvWatcher::setCallback (callable $callback)
o public void EvWatcher::start (void )
o public void EvWatcher::stop (void )
PROPERTIES
o $pid
- Readonly . The process ID this watcher watches out for, or 0 , meaning any process ID.
o $rpid
- Readonly .The process ID that detected a status change.
o $rstatus
- Readonly . The process exit status caused by $rpid .
PHP Documentation Group EVCHILD(3)