Want to change Agent runtime with another agent ! is it possible?

Hi!I´ve an agent, which should run once a year.

So I choose : Run Monthly at XX day - xx hour.

With limitation on one day.

That´s ok, but what I´m gonna do, when this day is out?! I must change it manually for the next year. (very fiddly). So my question: Is there´re a way to change this runtime automatically with another agent ?! I don´t know the parameters for the runtime. Can someone help me to solve this.

Thanks in advance, Stefanie

Subject: Want to change Agent runtime with another agent ! is it possible ?

Hi,

the easiest way is to let it actually run every month but to make sure that it actually performs the your action only once.

Lets say you want the action to be happen only in January then add to the beginning of your code this:

If Month(Today) <> “1” then Exit Sub

Bye

Hynek

Subject: RE: Want to change Agent runtime with another agent ! is it possible ?

Thanks! I´ll try it.

Subject: Want to change Agent runtime with another agent ! is it possible ?

What I fail to understand is that in case you are able to achieve what you desire… i.e. write an agent that shall change the run schedule for the agent…how will you schedule the new agent you write? More over you will any way set the new schedule for the present agent in the new agent in order to set the same in the present agent.

The whole point of discussion here is that in any case you are going to enter the schedule in the new agent so why not change the schedule in the present agent manually for that year??

One argument may be that you dont want to touch the design and would like to have some configuration for the same in which case you can store the run schedule in the profile document and probably schedule the agent as a daily which will first check against the date mentioned in the profile and then will run the agent on the mentioned date.

Regards,

Nitin