Content
@
0 reply
0 recast
0 reaction
doug
@pfeffunit
What do people use for scheduling tasks in Node world? Doesnโt have to be super heavy duty. I see some options but no clear leaders? Just need it to run some tests on a single server.
5 replies
0 recast
0 reaction
welp ๐ฉ๐ธ
@we
The cheapest would probably be to use cf worker & put it on a cron schedule? It can either perform the work or make a request to initiate the work, no?
1 reply
0 recast
0 reaction
doug
@pfeffunit
I would, but I need to throw a couple classes of jobs (and payloads) into it with variable start times. Iโm sure I could code enough around cron to support it but seems a bit much?
1 reply
0 recast
0 reaction
welp ๐ฉ๐ธ
@we
fwiw cf does allow you to set multiple schedules here, but i never tried it: https://developers.cloudflare.com/workers/examples/multiple-cron-triggers/ might be a bit too much as you said. I don't really have any js recommendations since I use go and just jam https://github.com/robfig/cron in everything
1 reply
0 recast
0 reaction
doug
@pfeffunit
Trying to keep it local for now, but the cloudflare thing looks interesting. I settled on https://bullmq.io. Mostly for the delayed job/scheduled job support. Thanks for the feedback anyway!
1 reply
0 recast
1 reaction