This project demonstrates how to use Redis Queue (RQ) to schedule jobs in a Python application. The provided code schedules a message to be displayed at a specified time and allows you to check the status of the scheduled job.
- Python 3.x
- Redis server
rq
Python libraryredis
Python library
You can install the required Python libraries using pip:
pip install rq redis
- Start Redis Server: Make sure the Redis server is running.
- Run rq worked with schedular:
rq worker --with-scheduler
- Run the Scheduler Script: Execute the
queued.py
script to schedule jobs and check their status.
python queued.py