You can subscribe to executor events using scheduler.add_listener(). See here: https://apscheduler.readthedocs.io/en/stable/userguide.html#scheduler-events
You will want to inspect every JobExecutionEvent and get the scheduled_run_time attribute in it.
Let me know if you have trouble getting this to work.
--
You received this message because you are subscribed to the Google Groups "APScheduler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apscheduler...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/90c850c4-9177-4432-bef9-552534d8ace3n%40googlegroups.com.
Such an event is emitted every time a job has been submitted to
the designated executor. The "scheduled_run_times" property is a
list of datetimes the job was supposed to have been started on,
after the last run time of the job up until the present time (can
be multiple values when coalescing is enabled).
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/d5b99c56-411a-4f0c-a812-c5796b5cb3ean%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/930a461d-0d48-ef13-8acf-600247b1dd32%40nextday.fi.
So I wouldn't always have to write example code for everyone, I'd like to ask if you've read this part of the documentation: https://apscheduler.readthedocs.io/en/stable/userguide.html#scheduler-events
Is there something I didn't explain properly here?
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/CAGhEfcRjjPa-wCm_x6aOwuVDaMDghA5Pkm1FNeAMFb4wf3D7hA%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "APScheduler" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/apscheduler/MwIHiRkOAD8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to apscheduler...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/a9ebd9d6-3388-f3a5-76ba-6b4052fe37dd%40nextday.fi.
Well, that documentation section has an actual example, so you
need to tell me what part you're having difficulties with so that
I can assist you.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/CAGhEfcSSz4N%3DknD4vdf5MmQF%2Br3KFiq6TX2GmoQgCAO%3DmoUMsw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/4921a33d-9d3d-ca08-992d-d88a488b8804%40nextday.fi.
You can get a list of all jobs using scheduler.get_jobs() (after
the scheduler has been started). You can then identify paused jobs
by looking at the next_run_time
attribute which is None for paused jobs.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/CAGhEfcSRB91rd2%3DvZtXSSgnGSDQi6PoyNxJpFr053OB%3DNQkOJg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/6126db4f-ed9b-24c1-11f7-6e0aa267b133%40nextday.fi.
There is no documentation for that because there is no such
feature in APScheduler. If you want something like that, you'll
have to implement it yourself.
To view this discussion on the web visit https://groups.google.com/d/msgid/apscheduler/CAGhEfcStfu4mr7Dk24Lu4sAoXGO2nz%2BCcOgK-T96-_K1KHybuw%40mail.gmail.com.