#Which crates can help me write a service that does some tasks on a schedule?

3 messages · Page 1 of 1 (latest)

tepid shore
#

Hi all. I am writing a Rust program for personal and learning uses which is supposed to fetch RSS feeds periodically and do something with them.

I have written the part which fetches the RSS feeds using reqwest and processes them using the RSS crate. Now I want to move on to the part where I turn into a perpetually running service.

But I have no experience doing this. I have only worked on one-shot programs or web frameworks. I have tacked on scheduled tasks on web frameworks but never done something like this standalone.

Any advice is appreciated. Thank you.

Edit: So far I am using async rather than blocking where possible.

obsidian lynx
#

Used it for a service that interacts with the Spotify API every fixed duration. like clockwork