Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

165
Vistas
How to track free trial in programming?

I have an application that users can use it 14 days without paying. However, after 14 days users will not be able to use the application unless s/he pays for it.

I don't know how to track the remaining time for the free trial. I'm thinking of setting an cronjob 14 days later when the users is created but I think it is a bit hard to manage (?).

The second thought would be checking the remaining time for every user at a specific time every day but timezone and server loading might be problem in this case.

I'm using MongoDB and Node.js for back-end and HTML, CSS, JS for front-end. How can I design my database and code to overcome this problem?

Thanks in advance.

I believe this question have enough detail please warn before closing.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You could possible save time of register of user and then every time on request of users that don't pays calculate the remaining time?

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda