[go-nuts] schedule a job executing in future

2020-10-19 Thread Zhihong GUO
Hello all, I am implementing a reminder system. The purpose is to provide API to client App to add a meeting, and before X minutes the meeting is to open, the reminder system can send notif to user by SMS or email. Here I need a function like: when a meeting is created, check the open time of the

Re: [go-nuts] schedule a job executing in future

2020-10-19 Thread Jesper Louis Andersen
On Mon, Oct 19, 2020 at 9:51 AM Zhihong GUO wrote: > > I am implementing a reminder system. The purpose is to provide API to > client App to add a meeting, and before X minutes the meeting is to open, > the reminder system can send notif to user by SMS or email. Here I need a > function like: whe

Re: [go-nuts] schedule a job executing in future

2020-10-19 Thread Uday Kiran Jonnala
For the same scenario, we use the following - Go cron to schedule the job execution - For crash consistency of the program, use a DB (as mentioned by Jasper also) with a db entry for job schedule information. On Monday, October 19, 2020 at 2:33:50 AM UTC-7 jesper.lou...@gmail.com wrote: > On M

Re: [go-nuts] schedule a job executing in future

2020-10-20 Thread Zhihong GUO
Hello Uday and Jesper, Thank you so much for the answer. I found another solution and will have a try, https://github.com/gocraft/work, this library use Redis to save the future tasks. Best Regards, James Uday Kiran Jonnala 于2020年10月20日周二 上午9:29写道: > For the same scenario, we use the followin

Re: [go-nuts] schedule a job executing in future

2020-10-21 Thread Urjit Singh Bhatia
Hi James, I had a similar need a few years ago and wrote this https://github.com/chronomq/chronomq We've been using it in production for more than 2 years now and the project is fairly stable. On Tuesday, October 20, 2020 at 1:40:59 AM UTC-7 gzh...@gmail.com wrote: > Hello Uday and Jesper, >