Skip to content

Instantly share code, notes, and snippets.

@HanSooloo
Created August 6, 2022 15:07
Show Gist options
  • Select an option

  • Save HanSooloo/07b6de4adb7355733fc7ac1e2e1fdf75 to your computer and use it in GitHub Desktop.

Select an option

Save HanSooloo/07b6de4adb7355733fc7ac1e2e1fdf75 to your computer and use it in GitHub Desktop.
2022-08-06 22:59:31,316: apscheduler.scheduler:base - add_job: Adding job tentatively -- it will be properly scheduled when the scheduler starts
2022-08-06 22:59:31,316: root:scheduler - schedule_function_1: scheduled_job: function_1 (trigger: date[2022-08-06 15:00:31 UTC], pending)
2022-08-06 22:59:31,316: root:scheduler - <module>: Starting main scheduling loop
2022-08-06 22:59:32,646: apscheduler.scheduler:base - _real_add_job: Added job "function_1" to job store "default"
2022-08-06 22:59:32,647: apscheduler.scheduler:base - start: Scheduler started
2022-08-06 22:59:32,647: apscheduler.scheduler:base - _process_jobs: Looking for jobs to run
2022-08-06 22:59:33,120: apscheduler.scheduler:base - _process_jobs: Next wakeup is due at 2022-08-06 15:00:31.053049+00:00 (in 58.405645 seconds)
2022-08-06 23:00:31,524: apscheduler.scheduler:base - _process_jobs: Looking for jobs to run
2022-08-06 23:00:32,019: apscheduler.executors.default:base - run_job: Running job "function_1 (trigger: date[2022-08-06 15:00:31 UTC], next run at: 2022-08-06 15:00:31 UTC)" (scheduled at 2022-08-06 15:00:31.053049+00:00)
2022-08-06 23:00:32,019: root:functions - function_1: This job does some work in function_1
2022-08-06 23:00:32,523: apscheduler.scheduler:base - remove_job: Removed job 04e7b44dcd5f4ba59bf9d25cc80d8a8b
2022-08-06 23:00:32,747: apscheduler.scheduler:base - _process_jobs: No jobs; waiting until a job is added
2022-08-06 23:00:47,018: root:functions - function_1: Time to schedule function_2 work
2022-08-06 23:00:47,019: apscheduler.scheduler:base - add_job: Adding job tentatively -- it will be properly scheduled when the scheduler starts
2022-08-06 23:00:47,019: root:scheduler - schedule_function_2: scheduled_job: function_2 (trigger: date[2022-08-06 15:01:47 UTC], pending)
2022-08-06 23:00:47,019: root:scheduler - schedule_function_2: Scheduler running? False
2022-08-06 23:00:47,019: apscheduler.executors.default:base - run_job: Job "function_1 (trigger: date[2022-08-06 15:00:31 UTC], next run at: 2022-08-06 15:00:31 UTC)" executed successfully
2022-08-06 23:01:54,633: root:scheduler - <module>: Interrupted, shutting down
2022-08-06 23:01:54,636: apscheduler.scheduler:base - shutdown: Scheduler has been shut down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment