Weird working of File Watcher job


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Weird working of File Watcher job
# 1  
Old 12-02-2010
Weird working of File Watcher job

I have JIL script like the one below

Code:
insert_job:F_SAMPLE
job_type:f
machine:PC001
owner:asla@PC001
watch_file:/home/shah/one/sample.trg
watch_interval:90
alarm_if_fail:1

Here my question is, there is a directory one under that file needs to be watched sample.trg..!
but directory one owned by another user and he has provided no permission to its group and others....
How the job gets success ?

Thanks...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File watcher script

if test -n "$(find/data/path/ 'filename.txst' -print-quit) then echo "file found" exit 0 else echo "file not found" exit 46 fi So I basically looking to understand the if test -n "$(find/data/path/ 'filename.txst' -print-quit) line. Pls help to elaborate what this command... (6 Replies)
Discussion started by: Nsharma3006
6 Replies

2. Shell Programming and Scripting

Looking out for the file-watcher

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)
Discussion started by: tush
4 Replies

3. UNIX for Dummies Questions & Answers

Autosys file watcher

Hi friends, Instead of creating a script autosys 11.3 has a feature for filewatcher. Can anyone please share a link where ican create a file watcher job (more like manual). i need to create a filewatcher job where the job should search for a file for every 5 mins and send a mail whether the... (1 Reply)
Discussion started by: robertbrown624
1 Replies

4. SCO

SCO UNIX ftp - weird kind of working

hi, i am working on sco unix 5.07, i have 10 individual servers networked locally in which sco os is installed. one of them is not transferring the file to other servers but accepting all files. means Server (A) can accept the file through FTP from any server but not transferring FTP its own... (9 Replies)
Discussion started by: aafflatoon
9 Replies

5. Shell Programming and Scripting

File Watcher Help !!

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)
Discussion started by: westernmichnov
2 Replies

6. UNIX for Advanced & Expert Users

Need Script for File Watcher

Hi, I need a script for "FILE WATCHER" I have in a remote FTP location server named MAIN _104 EveryDay mrng 8 i hav to search couple of folders(COL, ATT, TRA) in that FTP server (MAIN_104), and if any files are present in that folders i hav to bring back to my computer and store it anywhere... (4 Replies)
Discussion started by: nani1984
4 Replies

7. What is on Your Mind?

what was the most funny or weird thing that ever happened to you in your job

Many of us used to or work now with customers. So it naturally happens that something really funny or weird comes across - stories that need to be told. What is it for you ? I used to work as a technical consultant for a Software Company and part of my job was to maintain and troubleshoot... (5 Replies)
Discussion started by: zxmaus
5 Replies

8. Shell Programming and Scripting

File Watcher

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)
Discussion started by: er_zeeshan05
3 Replies

9. UNIX for Dummies Questions & Answers

Job Watcher Removal Question

All- What is the command to remove/delete a job watcher from production. Thanks, Sailor58 (2 Replies)
Discussion started by: Sailor58
2 Replies

10. Shell Programming and Scripting

file watcher job

Hello, I am trying to create a file watcher script to check for a file until certain time and throw a message. can some one please help me if there is script handy ?? Thanks, Sateesh (1 Reply)
Discussion started by: kotasateesh
1 Replies
Login or Register to Ask a Question
File::ChangeNotify::Watcher::KQueue(3pm)		User Contributed Perl Documentation		  File::ChangeNotify::Watcher::KQueue(3pm)

NAME
File::ChangeNotify::Watcher::KQueue - KQueue-based watcher subclass DESCRIPTION
This class implements watching using IO::KQueue, which must be installed for it to work. This is a BSD alternative to Linux's Inotify and similar event-based systems. CAVEATS
Although this watcher is more efficient and accurate than the "File::ChangeNotify::Watcher::Default" class, in order to monitor files and directories, it must open filehandles to each of them. Because many BSD systems have relatively low defaults for the maximum number of files each process can open, you may find you run out of file descriptors. On FreeBSD, you can check (and alter) your system's settings with "sysctl" if necessary. The important keys are: "kern.maxfiles" and "kern.maxfilesperproc". You can see how many files your system current has open with "kern.openfiles". On OpenBSD, the "sysctl" keys are "kern.maxfiles" and "kern.nfiles". Per-process limits are set in /etc/login.conf. See login.conf(5) for details. SUPPORT
I (Dave Rolsky) cannot test this class, as I have no BSD systems. Reasonable patches will be applied as-is, and when possible I will consult with Dan Thomas or other BSD users before releasing. AUTHOR
Dan Thomas, <dan@cpan.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2010 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 perl v5.14.2 2012-04-14 File::ChangeNotify::Watcher::KQueue(3pm)