<reponame>m-star18/AutoHealthBot
import time

import schedule

from src.const import JOB_TIME
from src.job import AutoHealthJob


def main():
    schedule.every().day.at(JOB_TIME).do(AutoHealthJob)

    while True:
        schedule.run_pending()
        time.sleep(1)


if __name__ == '__main__':
    main()

import time

import schedule

from src.const import JOB_TIME
from src.job import AutoHealthJob


def main():
    schedule.every().day.at(JOB_TIME).do(AutoHealthJob)

    while True:
        schedule.run_pending()
        time.sleep(1)


if __name__ == '__main__':
    main()