Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since parent is talking Python, I resort to APScheduler whenever I need cron-like features.

https://apscheduler.readthedocs.io/en/3.x/modules/triggers/c...

`sched.add_job(job_function, 'cron', day_of_week='mon-fri', hour=5, minute=30, end_date='2014-05-30')`

Sometimes also `schedule` https://github.com/dbader/schedule

`schedule.every(5).to(10).minutes.do(job)`



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: