Book a Demo

Author Topic: Automatic execution of baselines and deleting audit logs.  (Read 3267 times)

Martin P.

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Automatic execution of baselines and deleting audit logs.
« on: December 16, 2020, 08:59:53 pm »
Hi EA Experts!
I have written procedures in VB script for creating baselines and deleting audit logs. In the meantime, I run them manually.
Is it possible to run these procedures in EA automatically? (As scheduled tasks.)
Thank you very much.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Automatic execution of baselines and deleting audit logs.
« Reply #1 on: December 16, 2020, 09:20:52 pm »
No, not really.

Possible alternatives

- Save your script as a plain VBS script (make sure to remove all EA specific invalid syntax stuff like !INC, as EA.Element or any references to Session, and initialize your Repository object in the script), and then run this script as a scheduled task. This will only work if you are logged in at the moment of the scheduled task.

- Use EA-Matic to automatically run your script at opening of a project. In your script you can then check when the last time was you executed your ran your script, and execute again it it exceeds a threshold (e.g. one week)

Geert