Open sntxrr opened 7 years ago
When we teach the bot how to use Gdocs and we teach it to look for URL 404s, we should have the bot move expired listings into a separate sheet, and strike them through so as to NOT clutter the listings up.
When would the bot run that garbage collection? Seems more appropriate to put that in an unrelated job on a cron timer, to me.
I would imagine that it would probably run once a day - maybe more if warranted. Could be Ruby, Python or Node. My initial thoughts was to do Node since that is what the Bot is already written in. Perhaps that would be best since we'd like this to be portable to other hosts? Open to suggestions, and will approve any PR that solves this.
I found this in my travels: https://github.com/coderofsalvation/hubot-script-spreadsheet - pretty sure we could do some fancy stuff with it:
@hangops-jobbot search jobs remote
Which would search for entries that had "remote" tags.