We want to create edition only if there’s some difference between current edition and staging area. We want it to be created in an IPL and schedule it with Open Deploy Scheduler. Is it possible? If yes then how to go about this?
Your requirement is to push the modified files to webserver with the help Open schedule event.Please correct me if I am worng
Is this a stand alone script or a part of any workflow?
It would be an stand alone script...
In that case, you can check the file status and create the edition. However, the only thing you can do for scheduled deployment is to make the script sleep for the intended duration.
Is it not possible to compare current EDITION with current STAGING area?I'm sorry but I didn't understand the schedule deployment part. Currently we are scheduling a batch file in windows scheduler. It works fine. I just wanted to know whether it is possible to schedule any script (ipl) in Open Deploy Scheduler or not?
The OD scheduler runs OD - period.If you have an OD config file that runs a DNR script - you can have the DNR script do the edition stuff you want - so in that respect the OD scheduler would run your script (via OD) - though if you're doing this - I believe you want to use a dnrDeploymentJob directive - which is a sibling element to execDeploymentTask as opposed to dnrDeployment which is a sub-sub-element of execDeploymentTask.Read the OD manuals and DTD for the config files for more information
OK, and how to compare current EDITION with current STAGING area?
Thinking if you can check the creation date of your edition and then check if any of the files in STAGING has date/time greater then that.
It means we have to do it for each file in the STAGING. There's no any specific command for this?
Did you try to use - iwcmp ?