All the information about each scheduled task is stored in DB table mdl_task_scheduled.
This includes nextruntime (the timestamp for the next time after which the task will run again) and lastruntime (the timestamp when the task last completed).
This includes nextruntime (the timestamp for the next time after which the task will run again) and lastruntime (the timestamp when the task last completed).