I am using the python package "Alfred-Workflow" to write a workflow to manage downloads, it first read from an RSS source and then I can send some item to aria2c to download.
However, when there are many items in the RSS, updating takes some time so I need to cache the results for 20 minutes.
I know that I can set the update process by "run_in_background", to run it I need to at least trigger the workflow once.
It would be nice if the update can run in background every 20 minutes automatically without being triggered.
I read the tutorial and find the delay block utility, I found that if I can wrap an action with self-call and delay, then the whole procedure can be viewed as a scheduled task.
However, I did not find anyone else using this approach, I wonder if there is any performance drawback.