'Apschedule python : how i cant stop add_job after run it 5 min

I want to stop add_job after it run 5 min sched = BackgroundScheduler(daemon=True) sched.add_job(check_new,'interval',hours=2,start_date = '2022-05-05 1:15:00')



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source