Execute process every minute

kylejohnson
kylejohnson New Altair Community Member
edited November 2024 in Community Q&A
Hello,

I am trying to execute a process every minute.  I tried using the Loop Operator (3 iterations) by putting the Delay Operator (60,000 ms) and Run Process inside of it but it would wait 1 minute and then run the process three times.  I am trying to get it to wait 1 minute, run the process once, wait another minute, run the process again and then wait another minute and run the process a third time.  My other idea was to use a macro but I am unfamiliar with those.  Thank you in advance for your time and advice!
Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    This sounds like a super normal use case for server, then you can also use execute process or use the built in cron-schedule.

    Is Server an option? It's free for academia.

    Best,
    Martin
  • kylejohnson
    kylejohnson New Altair Community Member
    I did not know the server was free for academia.  That is definitely a possibility but honestly I would prefer to keep it local if possible.  Is there a way to make it work without the server?
  • kylejohnson
    kylejohnson New Altair Community Member
    I also tried putting the Delay opperator inside the process itself but that gave me the same outcome where it waited and then ran the loop three times in a row.
  • IngoRM
    IngoRM New Altair Community Member
    edited April 2019
    Looks like the loop is parallelized - there should be an option in the Loop operator's parameters "enable parallel execution".  Try to run this without parallelization.
    Cheers,
    Ingo
  • kylejohnson
    kylejohnson New Altair Community Member
    I don't see an option to enable parallel execution; there is only one to "reuse results".  However I think I got it to work by selecting "reuse results" and moving the Delay to after the Execute Process within the Loop.
  • Telcontar120
    Telcontar120 New Altair Community Member
    You need to enable expert view to see the advanced parameters (click the little icon of the guy in the graduation cap in the parameters panel where it says "show advanced parameters"), and then the "enable parallel execution" option will be visible.