-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I like the script but would like to run it stateless (i.e. not as daemon and without a local file to store already posted IDs). The target is to run it as FaaS with Heroku, Scaleway or any other FaaS provider trigger via cron (i.e. hourly).
Running one-shot instead of deamonized would be straight forward, but how could we avoid double-posting over and over?
- only look at post in past (timeframe) and make sure script only runs once per timeframe (with the obvious disadvantage that we'd miss posts if there was an unsuccessful invocation).
- Embed Insta post.mediaid in Toot to detect duplicates. Also introduce a timeframe to reduce the number of posts that need to be compared (with the advantage over option 1 that the script can and should run multiple times in the defined timeframe)
Any other ideas how to achieve the said objective?
condr-at
Metadata
Metadata
Assignees
Labels
No labels