Sponsored Content
Full Discussion: triggering utility
Top Forums UNIX for Dummies Questions & Answers triggering utility Post 25727 by peter.herlihy on Sunday 4th of August 2002 03:20:47 AM
Old 08-04-2002
I should think your security guys are probably right.

To have something constantly parsing a directory you have two options either a cron job....or a continually running script.

I guess either will work...the benefit in the constantly running script is that it will always change the file immediately. The cron tab will onyl do it at whatever interval you specify. However having a script running constantly can mean it gets missed on re-booting or if it fails for some reason you may not know for a while (although having said that you could put in a mail on error type loop).

You may find issues with specifying what files yuo want to decrypt...particularly knowing which one have already been decrypted and watching that other people havent' accessed a file before you change it.

I would suggest that you had one directory where the files 'pop' into...then your script decodes and moves then to a different directory where the users can access them. this will minimise your risk. Also go with cron on a shorter interval (i.e. every minute). It's tidier.
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Triggering my Unix script....

Hi All, i dont have any idea about perl scripting... i need some suggestion so that i can put my effort to find out the solution:D let me explain....one of my tedious task which will taken care by Unix shell script which i prepared. its a kind of routine work that i am running the... (4 Replies)
Discussion started by: Shahul
4 Replies

2. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

3. Shell Programming and Scripting

Best practice triggering a process?

Hi, Since I staterd working as Unix sysadmin (about 3 years ago) I always used to trigger a process evaluating the conditions needed to this process to be executed. Recently I've change the company where I work, and they usually create a trigger file to start a process or to stop a process while... (1 Reply)
Discussion started by: nefeli
1 Replies

4. UNIX for Dummies Questions & Answers

Unix coding for triggering informatica

Hi, I have very little knowledge with unix and pmcmd. I need help with a issue. I have to see whether a file has been dropped in a particular location/path. If the file dropped I have to check the last modified time, which should be greater than 8pmEST the prior day. If the file has been... (4 Replies)
Discussion started by: redwolves
4 Replies

5. UNIX for Dummies Questions & Answers

Cron is running,but my job is not triggering.

Hi, I have scheduled a job previously and was running fine,but due to some issue i have commented it.Now the issue was solved and i have scheduled as below in crontab. 30 2 * * * /u01/srcdata/CSA/holding/common/script/QPLR_RegValrao.sh PROD Cron is running,but my job is not triggering. ... (1 Reply)
Discussion started by: mvennakula
1 Replies

6. Solaris

Scheduling job not triggering

I am scheduling job using Datastage tool, which tool is installed on solaris server. I can able to schedule jobs/sequences, its not trigering at specified scheduling trigerring time. but at specified job not starting automatically. Till that specified schedule time, i can able to see that the job... (6 Replies)
Discussion started by: sridhardwh
6 Replies

7. Shell Programming and Scripting

Cron job not triggering.

Hi, I have scheduled a job using cron but the job is not getting triggred because of the following error. line 5: /env/env_setup.sh: No such file or directory But the file env_setup.sh is there in that location. /scripts/env -rwxrwxrwx 1 mysql mysql 974 Oct 24 10:41 env_setup.sh... (5 Replies)
Discussion started by: arijitsaha
5 Replies

8. Shell Programming and Scripting

Triggering a script using POSTFIX....

I have a mail server configured on my server (Postfix), I have a script which requires input to be provided to it. I would like to know if there is a possibility to trigger this script by sending mail to the server. This is what I am thinking: Once the mail arrives on server, the mail will... (6 Replies)
Discussion started by: davidbob
6 Replies
WATCH-MULTIPLE-MIMDEFANGS(8)				      System Manager's Manual				      WATCH-MULTIPLE-MIMDEFANGS(8)

NAME
watch-multiple-mimdefangs.tcl - Keep an eye on a cluster of MIMEDefang machines SYNOPSIS
watch-multiple-mimdefangs.tcl [-archive] machine-1 machine-2 ... machine-N DESCRIPTION
watch-multiple-mimdefangs.tcl is a Tk script that graphically displays the status of mimedefang-multiplexor(8) on a cluster of machines. Note that Tcl/Tk 8.4 or higher is required to run watch-multiple-mimdefangs.tcl. If you supply the -archive command-line option, then watch-multiple-mimdefangs.tcl logs the output of md-mx-ctrl rawload for each machine. The output for machine_name is logged in: $HOME/.watch-multiple-mimedefangs/machine_name/data. PREREQUISITES
To use watch-multiple-mimdefangs.tcl to monitor a cluster of machines, you need the following prerequisites: o A UNIX-like machine with Tcl/Tk 8.4, the X window system and an SSH client. You also need "xterm" to use some of the features. o The ability to SSH as root to all of the machines you want to monitor. Ideally, you should be using the SSH agent so that you can SSH to the monitored machines as root without being prompted for a password or pass phrase. o The program md-mx-ctrl on root's path on all the machines you want to monitor. DISPLAY
For each machine specified on the command line, watch-multiple-mimdefangs.tcl creates a chart with five columns. The columns are: o A button with the name of the machine. Clicking the button pops up a menu that lets you take various actions, as described later. If all slaves on the machine are busy, the button turns yellow. o A label showing the number of busy slaves in the form "busy/total", where total is the total number of slaves. o A label showing the average number of messages per second over the last 10 seconds. o A label showing the average number of milliseconds per scan over the last 10 seconds. o A chart that graphs the average number of busy slaves, the average number of messages per second and the average scan time in mil- liseconds, all averaged over the last 10 seconds. MACHINE MENU
If you click on a machine name, a menu with three options pops up: SSH Open an xterm session and ssh as root to the machine. Busy Slaves Monitor the busy slaves on the machine. If you click on the process-ID of a slave, an xterm will open up and the command "strace -s 100 -t -p pid" will be executed on the remote machine. This is Linux-specific, but you can edit watch-multiple-mimdefangs.tcl to replace the command with your particular system's command for tracing system calls. Delete Remove the machine from the list of machines being monitored. ADDING A MACHINE
If you need to add a machine to the display, simply type the name of the machine in the "Add Machine:" box and press Enter. AUTHOR
watch-multiple-mimdefangs.tcl was written by David F. Skoll. SEE ALSO
mimedefang.pl(8), mimedefang-filter(5), mimedefang(8), mimedefang-protocol(7), md-mx-ctrl(8), watch-mimedefang(8) 4th Berkeley Distribution 12 January 2007 WATCH-MULTIPLE-MIMDEFANGS(8)
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy