|
I've been Googling and Overflowing for a bit and couldn't find anything usable.
I need a script that monitors a public folder and triggers on new file creation and then moves the files to a private location.
I have a samba shared folder /exam/ple/ on ...
Started by CheeseConQueso on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Destdir cmd [args].." % ( ....
Files) { # Move file move("$dirname/$target", "$dest_dir/$target"); # Trigger external Perl script system('./my_script.pl'); } }
File::ChangeNotify allows you to monitor files and directories for changes]..
|
|
Hi,
Do "UNKNOWN" triggers & "stale items" make Zabbix base monitoring unreliable?
OK the introduction is bit harsh but I thinks the the subjet really matters: I have two issues that have been discussed here already but without a clear solution (none that...
Started by Farzad FARID on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at zabbix):
But the ticket was opened two years ago and still has no fix although it's the third most popular... .
I finally found out that there is already a Feature Request describing the very same problems I wrote about : https://support.zabbix.com/browse/ZBXNEXT-341 .
|
|
Hi, I am having a problem with a trigger in SQL Server 2005, I have created the trigger and I have tested it inserting rows manually and it works fine that way, however I call a Stored Procedure from a c# web application and the triggers does not get ...
Started by Albert on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Triggers are nested when a trigger performs an action that....
triggers in Microsoft SQL Server?
Avoid using nested triggers By default, if a trigger is changing other option sets databases to have the opposite behavior.
|
Ask your Facebook Friends
|
Ok,I'm running a setup with a single master and a number of slaves. All writes go through the master and are replicated down to the slaves which are used strictly for reads.
Now I have a stored procedure (not function) which is called by a trigger on ...
Started by Samwise on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Fix that....
So the trigger needs to exist on the slave, and assuming binary logging, which will log only the rows being changed, so the trigger would not be re-fired or trigger.
And then the trigger will be re-run on the slave.
|
|
I’m building email notification service, requirement is to send an email to user when he is registered. Currently what I’m thinking of execution of some function defined in trigger, can be a java function, which have to be outside the mysql process, rather...
Started by sumitarora on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you decide to use.
( Source )
You may it in the Java middle tier code instead of the trigger? Databases are for persistence.
A trigger can invoke a UDF in MySQL.
Yes, you can use a User-Defined Function.
|
|
So here's what I've got:
An NSTableView with an NSMutableArray data source FSEvents monitoring a folder that contains the file that contains the data for the table view (Using SCEvents for Objective-C abstraction goodness) The FSEvents triggers the same...
Started by Rich Catalano on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried calling your method from your FSEvent on a second pass of the run-loop?
[myObject performSelector:@selector(reloadAction:) withObject:nil afterDelay:0.0];
We call reloadData on NSTableView when we have new data to add/remove to the table... .
|
|
I want to write a service (probably in c#) that monitors a database table. When a record is inserted into the table I want the service to grab the newly inserted data, and perform some complex business logic with it (too complex for TSQL).
One option ...
Started by MrDustpan on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Plus if your service or other wcf endpoint is not there your trigger will fail or be lost from inserting:
In the Insert trigger....
I would consider doing anything iike this with a Trigger as being an inappropriate use solution.
By searching.
|
|
The trigger below is delaying my insert response. How can I prevent this?
create or replace TRIGGER GETHTTPONINSERT BEFORE INSERT ON TABLENAME FOR EACH ROW Declare -- BEGIN -- The inserted data is transfered via HTTP to a remote location END;
EDIT People...
Started by Jader Dias on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Or maybe you could give us more details on what... .
Else, the trigger will ALWAYS be executed before your insert, thats what the TRIGGER BEFORE INSERT is made for.
Well obviously, you could prevent the delay by removing the Trigger....
|
|
In lieu of making an application cluster aware is it possible to set up a trigger based on an event appearing in the system event log to cause the server cluster to failover?
Started by Darren on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
As the cluster makes various calls....
The basic premise is that you create a VBScript file that launches and monitors the application.
This option is only available on Server 2003 and newer .
One option would be to use a "Generic Script" resource type .
|
|
I'm looking for a way to trigger a Cruise Control.net build from a subversion post-commit hook.
I want this to in order start the build directly after an commit. I know about the normal way of doing this (polling the server) but it seems unnecessary to...
Started by FkYkko on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The URL trigger monitors any URL viewvc, you could have it ....
I would recommend against doing this, but if you REALLY want to, I'd start with a URL trigger .
Filter setting, then trigger the "force build" only if needed.
|