agent behaviour for every night processing

View: New views
4 Messages — Rating Filter:   Alert me  

agent behaviour for every night processing

by Gopal Varshney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

Is there any agent behaviour that will execute on a particular time (every day at 1.00 PM in night).

If yes, how can it done. Please suggest.

 

 

 

Thanks

Gopal

 

 


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

Parent Message unknown agent behaviour for every night processing

by Mike Therrien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'd use a WakerBehaviour that implements cron-like behaviour.

Read your list of tasks
Determine if any commands are to be run at the current date and time and if so.
  or
Determine how long to sleep until your next task
Sleep
Repeat

Cheers,
-M
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

agent behaviour for every night processing

by Gopal Varshney :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

Is there any agent behaviour that will execute on a particular time (every day at 1.00 PM in night).

I used the WakerBehaviour but it executes once and then stops.

How can it done. Please suggest?

 

 

Thanks

Gopal

 

 


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

Re: agent behaviour for every night processing

by Basileios Trigonakis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hello,

I could make two suggestions:
  1. Use a WakerBehaviour, but overwrite the onEnd() method in order to add again the same behaviour (which will execute the next day).
  2. Use a WakerBehaviour, which at 1.00 PM adds a TickerBehaviour with period (1000*60*60*24) ms = 1 day that implements the functionality that you want.
Cheers,
-- 
Vasileios Trigonakis

MSc. Student, Software Engineering of Distributed Systems,
	Royal Institute of Technology, Sweden
Diploma, Electrical & Computer Engineering,
	National Techical University of Athens, Greece

Gopal Varshney wrote:

Hi,

 

Is there any agent behaviour that will execute on a particular time (every day at 1.00 PM in night).

I used the WakerBehaviour but it executes once and then stops.

How can it done. Please suggest?

 

 

Thanks

Gopal

 

 


_______________________________________________ jade-develop mailing list jade-develop@... https://avalon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.tilab.com/community-mailinglist.htm


_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm