Node
-
node-schedule, node-cron 이용하기Project 2021. 5. 19. 11:01
오쿠는 경매사이트다. 마감시간 이후 낙찰자를 지정해줘야하는데, 이 때 node-schedule 모듈을 이용했다. Note that Node Schedule is designed for in-process scheduling, i.e. scheduled jobs will only fire as long as your script is running, and the schedule will disappear when execution completes. If you need to schedule jobs that will persist even when your script isn't running, consider using actual cron. 공식문서에서도 볼 수 있듯이, node-schedule은 ..