SETUP
- Download scheduler_agent
- cd scheduler_agent
- Run setup.sh (curl test content and change permissions on those files)
RUN
- In terminal 1, start the scheduler with the following command. If no parameters are given, the default will be input.json and output.json. (run "python scheduler.py -h" for usage).
python scheduler.py -i input.json -o output.json
-OR-
python scheduler.py
- In terminal 2, start the agent with the following command. python agent.py
- The scheduler and agent should exit cleanly once it has completed the Task Requests from input.json and written the Task Results to output.json.
REQUIREMENTS
- Please see scheduler_agent.md for requirements.