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
- Install Python:
- Ensure you have the latest version of Python 3.x installed.
- Install Dependencies:
- Use the following command to install the required Python packages:
- Setup Chromedriver:
- Download the latest version of Chromedriver from here and save the executable to your PATH.
- Configure Jobs:
- Create a
jobs.json
database for the task runner usingjobs-example.json
as a template.
pip install -r requirements.txt
Usage
To start the task scheduler, run the following command:
python runner.py