Code Monkey home page Code Monkey logo

Comments (6)

Jandev avatar Jandev commented on May 26, 2024

Great idea!

I guess we need to add a new column ReminderSent (DateTime). This can be used to send out the tweets for expiring CFP's.
Something I dislike about bots is them bombing my timeline with dozens of tweets. I'd hate to see this happen to CFP Exchange. Therefore, the Function should run like every X hours. If there are CFP's expiring in the next 7 days and the (DateTime.UtcNow - ReminderSent) < 7 days), it should send out a tweet, but only for 1 CFP!

If there are multiple CFP's expiring, in a couple of hours the next one will be picked up. And so on...

It's also possible to schedule a re-reminder. First reminder is 7 days before a CFP ends, the re-reminder is 3 days before the CFP ends.

This is a nice issue if you want to get started with Azure Functions and maybe ARM templates.

from cfpexchange.

jfversluis avatar jfversluis commented on May 26, 2024

I totally agree, I don't want to numb the users by sending dozens of tweets every day. I was indeed thinking once a week or something so that you are reminded of that one CFP you wanted to submit.

from cfpexchange.

staal-it avatar staal-it commented on May 26, 2024

What about Hangfire? --> https://www.hangfire.io/

from cfpexchange.

jfversluis avatar jfversluis commented on May 26, 2024

I've heard of Hangfire! Never used it though... But seems my web app has to be always-on to be able to do this?

from cfpexchange.

staal-it avatar staal-it commented on May 26, 2024

Yes, I believe you are correct. But that's not really a problem since there are no extra costs right?

Shall I create a simple pull-request to get started with just one use-case or would you rather take a different approach?

from cfpexchange.

jfversluis avatar jfversluis commented on May 26, 2024

For always-on you need a higher pricing plan on Azure. But the way the Azure Function is set up now it requires always-on too, and costs are not too bad.

So, long story short: yes! Set something up! Then we can always decide to do things differently later on 😄

from cfpexchange.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.