Lightweight python agent to retrieve and execute batch tasks
Run setup script to install required packages
cd $HOME
sudo curl -s https://raw.githubusercontent.com/haxdai/batch-processing-agent/master/agentsetup.sh | bash -s
Clone agent repository
git clone https://github.com/haxdai/batch-processing-agent.git
Make agent.sh executable
cd $HOME/batch-processing-agent
chmod +x agent.sh
Edit agent.sh to set SERVER_HOST and SERVR_PORT environment variables properly, then run install script to add cron job set to execute agent every minute. This command should be executed as the user who will be responsible for the execution of batch processes.
cd $HOME/batch-processing-agent
sh agentinstall.sh