Skip to content

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.

Notifications You must be signed in to change notification settings

NashTech-Labs/Job-Scheduler-with-Redis-Queue-using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Job Scheduler with Redis Queue

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.

Requirements

  • Python 3.x
  • Redis server
  • rq Python library
  • redis Python library

You can install the required Python libraries using pip:

pip install rq redis

Running the Script

  1. Start Redis Server: Make sure the Redis server is running.
  2. Run rq worked with schedular:
rq worker --with-scheduler
  1. Run the Scheduler Script: Execute the queued.py script to schedule jobs and check their status.
python queued.py

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages