Reputation: 11
Is it possible to start and then stop an agent by schedule, say run at 12 PM and then stop at 1 PM everyday. Thanks.
Upvotes: 1
Views: 90
Reputation: 571
You have several options.
In 2-5 the agent will remain dormant for most of the time and only be become active during the allotted time.
Upvotes: 2
Reputation: 949
One way is to set up a cron job that executes volttron-ctl start agent_uuid to start it...then another one that stops it.
The other way would involve just leaving the agent running and adding a periodic that can run every 24 hours, which would execute 24 hours from when you started the agent.
Upvotes: 1