Created
August 6, 2022 15:07
-
-
Save HanSooloo/f2cca0c5a3885fd03a231f8b137512fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from scheduler import schedule_function_2 | |
| from logger import log | |
| import time | |
| def function_1(): | |
| log.info(f'This job does some work in function_1') | |
| time.sleep(15) | |
| log.info(f'Time to schedule function_2 work') | |
| schedule_function_2() | |
| def function_2(): | |
| log.info(f'This job does some work in function_2') | |
| time.sleep(15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment