from apscheduler.schedulers.blocking import BlockingScheduler
from sms_jobs import send_sms, fetch_sms_status

sched = BlockingScheduler()


@sched.scheduled_job('interval', minutes=1)
def send_sms_schedule():
    print("Running sending job Sending")
    sched.add_job(func=send_sms, max_instances=1, id="sms_sending_job")


@sched.scheduled_job('interval', minutes=5)
def send_sms_schedule():
    print("Running status job")
    sched.add_job(func=fetch_sms_status, max_instances=1, id="sms_status_checking_job")


sched.start()

from apscheduler.schedulers.blocking import BlockingScheduler
from sms_jobs import send_sms, fetch_sms_status

sched = BlockingScheduler()


@sched.scheduled_job('interval', minutes=10)
def send_sms_schedule():
    print("Running sending job Sending")
    sched.add_job(func=send_sms, max_instances=1, id="sms_sending_job")


@sched.scheduled_job('interval', minutes=5)
def send_sms_schedule():
    print("Running status job")
    sched.add_job(func=fetch_sms_status, max_instances=1, id="sms_status_checking_job")


sched.start()

Change job schedule