Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify currently running export and skip within get latest export path #1

Open
DTW-DanWard opened this issue Jan 2, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@DTW-DanWard
Copy link
Owner

DTW-DanWard commented Jan 2, 2019

In case long-running export or less like event user has export running and also tries doing something that uses Get-ODUExportLatestPath (oduobject, odudiff, etc.):

  1. At beginning of export create file in current export root that identifier export is running: ExportingNow.txt (or something).
  2. Delete that file after successful export and post-processing complete.
  3. In Get-ODUExportLatestPath, check if most recent file contains that file, if it does, skip it and check proceeding export instead.
@DTW-DanWard DTW-DanWard added the enhancement New feature or request label Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant