Python Schedule 설정
2021. 6. 30. 10:39ㆍ코딩/Python
반응형
import schedule
import time
decider = True
def hello():
print("I'm working...%s"%time.ctime())
schedule.every().day.at("10:36").do(hello)
# 12시간마다
#schedule.every(12).hours.do(hello)
while decider:
schedule.run_pending()
time.sleep(1)
반응형
'코딩 > Python' 카테고리의 다른 글
Python Pandas isna(), nan Row 찾기 (0) | 2021.07.26 |
---|---|
python R Square 구하기 (0) | 2021.07.05 |
Python datetime 이용하여 요일 (weekday, weekend) 구분 (0) | 2021.06.30 |
python dataframe a value is trying to be set on a copy of a slice from a dataframe 오류 (0) | 2021.06.14 |
Python List를 원하는 개수로 나누기 (0) | 2021.05.26 |