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

138
Vistas
calling to the cloud function every 1 min problem dosn't work how can i fix that?

afterinstalling the firebase cloud function and deploying the function it should work every 1 min but it not working how can i fix that? thanks for help.

exports.scheduledFunctionCrontab = functions.pubsub.schedule("* * * * *").timeZone("Israel")
  .onRun((context) => {
    console.log("This will be run every 1 min!");
    addCoursesHistory(2222, 111, 3);

    return null;
  });

const addCoursesHistory = (uId, courseId, day) => {
  admin.firestore().collection("CoursesHistory").doc(`${courseId}_${day}`).add({
    courseId,
    day,
    uId
  });
};
about 4 years ago · Juan Pablo Isaza
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