There are two different aspects here: finding out who had run the script and making sure no two instances of the script run simultaneously.
The first is probably impossible. I don't know of any Informatica log file which would tell you this and you probably have not system auditing turned on and configured appropriately to find it in the systems audit logs. You might consider configuring system auditing in the future if you are interested in such information.
Regarding the second problem: this is relatively easy. Change the script so that when it starts it writes a "PID-file". Classically these PID-files are stored in /var/run, are named like the command/process they belong to and contain the PID of the running job. The first thing this script should do is to check if such a PID-file exists. If it does, it aborts with some error, otherwise it creates the PID-file, does whatever it is supposed to do and deletes the PID-file upon exit. Here is a sketch for this:
Hi,
I need you help with my research project that attempts to determine the
link between users and manufacturers of IT Products such as Unix.
This is part of an MBA program that I'm currently pursuing. My challenge is that I cannot possibly find out how I can send my research... (1 Reply)
I am doing a "research" paper for school and i'm having a hard time finding accurate information. I am supposed to choose three differant versions of unix, give a brief explination of each, tell why there each differant from each other. I have found a ton of web sites but the information is so vast... (1 Reply)
I am researching the reasons why Unix / Linux is the chosen operating system versus Windows. I have had difficutly narrowing down resources. I am wondering if anyone has any favorite sources that they would care to share.
Thanks
Dan (2 Replies)
menu should look at least like the following:-
RESEARCH PAPER LIBRARY - Main Menu
0 : EXIT this program
1 : EDIT menu
2 : REPORTS Menu
Enter your choice>
program should check for invalid choice and display error message and re-display the main-menu. If EDIT is... (1 Reply)
hi friends i have just completed my graduation and applied for Post graduation
i have to submit a research proposal of OS in the interview
i m a beginner & only read galvin & silbershcatz book on operating systems
can anyone help me in that ...
thanks in advance (3 Replies)
Hi there, please could you assist me. I have no knowledge at all about Unix and I have applied for a job and they have given me a test and said that I can obtain the answers in any kind of way. There are 3 questions that I need answers for. I have tried researching the answers to these questions... (12 Replies)
Good Afternoon,
Are most NASs compatible with Solaris/RedHat? Specifically, I'm looking at Western Digital ones but none of them say they are - I like My Cloud Pro Series PR4100
My Cloud Pro Series PR4100 – Network Attached Storage | Western Digital (WD) (3 Replies)
Discussion started by: Stellaman1977
3 Replies
LEARN ABOUT REDHAT
cron
CRON(8) System Manager's Manual CRON(8)NAME
cron - daemon to execute scheduled commands (Vixie Cron)
SYNOPSIS
cron
DESCRIPTION
Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don't need to start it with '&'.
Cron searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. Cron
also searches for /etc/crontab and the files in the /etc/cron.d/ directory, which are in a different format (see crontab(5)). Cron then
wakes up every minute, examining all stored crontabs, checking each command to see if it should be run in the current minute. When execut-
ing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if
such exists).
Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has,
cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab
file is modified. Note that the Crontab(1) command updates the modtime of the spool directory whenever it changes a crontab.
SEE ALSO crontab(1), crontab(5)AUTHOR
Paul Vixie <paul@vix.com>
4th Berkeley Distribution 20 December 1993 CRON(8)