Showing
1 changed file
with
13 additions
and
0 deletions
server/src/util/Batch.js
0 → 100644
| 1 | +//toDO : Batch System | ||
| 2 | +/** | ||
| 3 | + * 21/09/14 | ||
| 4 | + * Author : 박권수 | ||
| 5 | + * 배치 시스템 | ||
| 6 | + * 1) 매년 지나면 프로필의 Age를 +1 | ||
| 7 | + * 2) Dosage에 따라, Push Notification 발송 | ||
| 8 | + */ | ||
| 9 | + | ||
| 10 | +const cron = require('node-cron'); | ||
| 11 | + | ||
| 12 | +const Profile = require('../models/profile'); | ||
| 13 | +const BottleMedicine = require('../models/bottleMedicine'); | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment