šŸ”ƒ

TaskRunner

Date
April 22, 2022
Tags
Code

Overview

TaskRunner is a task scheduler designed to queue and run various tasks using Selenium, optimized to run on a spare laptop during the day. It is a flexible and efficient tool for automating repetitive tasks, making use of available computational resources.

Features

  • Task Scheduling: Queue and manage the execution of tasks.
  • Automation: Utilize Selenium to automate web-based tasks.
  • Logging and Notifications: Plans to include logging capabilities and push notifications.

Setup and Installation

  1. Install Python:
    • Ensure you have the latest version of Python 3.x installed.
  2. Install Dependencies:
    • Use the following command to install the required Python packages:
    • pip install -r requirements.txt
      
  3. Setup Chromedriver:
    • Download the latest version of Chromedriver from here and save the executable to your PATH.
  4. Configure Jobs:
    • Create a jobs.json database for the task runner using jobs-example.json as a template.

Usage

To start the task scheduler, run the following command:

python runner.py