Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Events to trigger OpenDeploy
System
We want to send an XML file into a workarea in TeamSite. When this file arrieves, it must immidiately be deployed with OpenDeploy.
Has anyone done this, or a good guess on how to do it. I have considered to use iwatcreate, but I do not want a script to be ron each time a user creates a new file.
Find more posts tagged with
Comments
Adam Stoller
If you want it to run immediately - iwatcreate (or iwat) will be the way to do it - but you need to make the script that is run via the trigger "smart" so that it gracefully exits out - fast - if the file being created does not meet the criteria for kicking off a deployment.
If you don't want that much overhead, and you're willing to have a bit of a delay - consider using a 'cron' job that polls the directory in TeamSite periodically and if it finds something to deploy, kicks off the deployment.
Another possibility (with OpenDeploy 5.x) is IF the directory in question is to be kept in sync with a directory on the target server - use the OpenDeploy scheduler (in place of 'cron') to periodically kick off a directory comparison deployment (sourceFilesystem) for that directory.
--fish
(Interwoven Senior Technical Consultant)
nyan
Would you please post the steps and simple scripts for using iwat command? Regarding FSE event, I saw from manual that 'RenameFSE' and 'CreateFSE' seem can be used, does any other events exist? How do we make differences on those events? Thx!
Adam Stoller
I haven't had to create a trigger script in a long time - so I have no examples to provide. You determine the event pattern string by looking at entries in the iwevents.log, you casll a script - look at all the arguments passed in and determine what you want to do from there.
--fish
(Interwoven Senior Technical Consultant)