Book a Demo

Author Topic: Timer  (Read 5512 times)

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Timer
« on: April 25, 2017, 03:07:03 am »
Hi,

Is there a possibility to start XMI-im- and exports with a timer? We have to ex- and import very big models and want to do this at night after the database backups.

Many thanks in advance, V.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Timer
« Reply #1 on: April 25, 2017, 07:18:41 am »

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Timer
« Reply #2 on: April 25, 2017, 10:00:13 pm »
Write a script ans use the API call ExportPackageXMI : http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/project_2.html
q.

Hi q.,
Thank you. I am not sure If I understood you correctly. I am more looking for timer. I cannot see the timer in this conext.
V.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Timer
« Reply #3 on: April 25, 2017, 11:15:19 pm »
Well, Windoze does have something like cron. I don't know how it's called and presumably it differs from Windoze 95 to Windoze 10 (hey, have they really published a version 85 less?).

q.

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Timer
« Reply #4 on: April 26, 2017, 03:35:50 am »
Well, Windoze does have something like cron. I don't know how it's called and presumably it differs from Windoze 95 to Windoze 10 (hey, have they really published a version 85 less?).
q.

Many thanks. I will try this.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Timer
« Reply #5 on: April 26, 2017, 08:53:08 am »
Well, Windoze does have something like cron. I don't know how it's called and presumably it differs from Windoze 95 to Windoze 10 (hey, have they really published a version 85 less?).

q.

Well originally it was the AT command (which maybe still there) but now it's the Windows Scheduler Service and is significantly more fully featured than cron/crontab.