Skip to main content

Cloud Assignment Manager Tool

Project description

Cloud Assignment Manager Tool

CAM-Tool is a cloud assignment manager tool that helps you to manage your tasks across different machines. You can start several workers across different machines and upload the command to cam-tool. Cam-tool will then distribute the tasks to workers automatically.

Install

pip install cam-tool
conda install redis # only required for server machine.

Config

The config file is located at ~/.cam.conf. You can set the server address, port, and password for redis. You can simply run cam config to edit the yaml file.

Start Server

On the server machine, simply run the following command to start the server.

cam server

Start Worker

On a worker machine, please run the following command to start a worker. You can start many worker on the same machine.

cam worker

Add new task

Please run the following command to add a new task

cam add "ls -lah"

Status

You can see the status of eash task with the ls command:

> cam ls

ID  Time                 Command    Host
----  -------------------  ---------  -------
   3  2022-03-07 06:39:33  ls -lah    Pending

Kill tasks

You can kill task with its task id.

cam kill 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cam-tool-1.0.2.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

cam_tool-1.0.2-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page