-
Notifications
You must be signed in to change notification settings - Fork 0
Key Funtionality
exponentian edited this page Mar 16, 2022
·
4 revisions
An automated scheduling function is enabled in the system to remind HR users that applicants have accepted or terminated their job offer today. It runs periodically at fixed times, and helps HR users make the progress of job applications easy.
Note
- The scheduler checks the status of applications from 9 AM to 5 PM every hour on weekdays, and it can send out a notification email to HR users.
Folder
Settings
scheduler.add_job(send_accepted_apps, 'cron', day_of_week='mon-fri', hour='9-17')
scheduler.add_job(send_terminated_apps, 'cron', day_of_week='mon-fri', hour='9-17', minute=5)Library: Advanced Python Scheduler (APScheduler)
- GitHub repo: https://github.com/agronholm/apscheduler
- Official Documentation: https://apscheduler.readthedocs.io/en/3.x/index.html
- APIs: https://apscheduler.readthedocs.io/en/3.x/modules/triggers/cron.html