The `add_job` function of the `BlockingScheduler` class in Python apscheduler package is used to schedule a new job to be executed by the scheduler. It takes various parameters such as the function or method to be executed, the trigger to define the timing of the job execution, and any additional arguments or keywords required by the function. This function adds the job to the scheduler's list of jobs and makes it ready for execution. The `BlockingScheduler` ensures that the execution of jobs does not overlap and blocks the main thread until all jobs are completed.
Python BlockingScheduler.add_job - 60 examples found. These are the top rated real world Python examples of apscheduler.schedulers.blocking.BlockingScheduler.add_job extracted from open source projects. You can rate examples to help us improve the quality of examples.