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(3pm) 				User Contributed Perl Documentation				   File::ChangeNotify(3pm)

NAME
File::ChangeNotify - Watch for changes to files, cross-platform style VERSION
version 0.22 SYNOPSIS
use File::ChangeNotify; my $watcher = File::ChangeNotify->instantiate_watcher ( directories => [ '/my/path', '/my/other' ], filter => qr/.(?:pm|conf|yml)$/, ); if ( my @events = $watcher->new_events() ) { ... } # blocking while ( my @events = $watcher->wait_for_events() ) { ... } DESCRIPTION
This module provides an API for creating a File::ChangeNotify::Watcher subclass that will work on your platform. Most of the documentation for this distro is in File::ChangeNotify::Watcher. METHODS
This class provides the following methods: File::ChangeNotify->instantiate_watcher(...) This method looks at each available subclass of File::ChangeNotify::Watcher and instantiates the first one it can load, using the arguments you provided. It always tries to use the File::ChangeNotify::Watcher::Default class last, on the assumption that any other class that is available is a better option. File::ChangeNotify->usable_classes() Returns a list of all the loadable File::ChangeNotify::Watcher subclasses. BUGS
Please report any bugs or feature requests to "bug-file-changenotify@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. DONATIONS
If you'd like to thank me for the work I've done on this module, please consider making a "donation" to me via PayPal. I spend a lot of free time creating free software, and would appreciate any support you'd care to offer. Please note that I am not suggesting that you must do this in order for me to continue working on this particular software. I will continue to do so, inasmuch as I have in the past, for as long as it interests me. Similarly, a donation made in this way will probably not make me work on this software much more, unless I get so many donations that I can consider working on free software full time, which seems unlikely at best. To donate, log into PayPal and send money to autarch@urth.org or use the button on this page: http://www.urth.org/~autarch/fs-donation.html <http://www.urth.org/~autarch/fs-donation.html> AUTHOR
Dave Rolsky <autarch@urth.org> COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Dave Rolsky. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) perl v5.14.2 2012-04-14 File::ChangeNotify(3pm)