Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
csctracker-queue-scheduler
Readme
This project is a Python job scheduling and queuing library. It allows jobs to be scheduled to run at specific periods and queues these jobs for execution.
Job Scheduling: The Scheduler service (SchedulerService
) allows jobs to be scheduled for execution at specified
intervals. It supports intervals in seconds, minutes, hours, days, and weeks, as well as daily scheduling at a
specific time.
Queue Service: Scheduled tasks are put in a queue (QueueService
) for execution. Tasks can be queued with or
without priority, which determines their order of execution.
Install and update using pip:
pip install csctracker-queue-scheduler
COMING SOON
from csctracker_queue_scheduler.models.enums.time_unit import TimeUnit
from csctracker_queue_scheduler.services.scheduler_service import SchedulerService
def my_function(): print("Hello, world!")
SchedulerService.start_scheduled_job(
function=my_function, period=5, time_unit=TimeUnit.SECONDS)
In the above example, my_function
would be scheduled to run every 5 minutes.
Currently, this project does not have automated tests. They may be added in the future as needed.
If you would like to contribute to this project, feel free to fork the repository, make your changes, and propose a pull request.
This project is under the MIT license. Please refer to the LICENSE
file for more details.
FAQs
A library for handle scheduled jobs.
We found that csctracker-queue-scheduler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.