Scheduled functions are invoked on a defined schedule using cron syntax.
Last updated 5 years ago
Was this helpful?
const { ScheduledFunction } = require("@adamite/service-functions"); module.exports = { scheduledFunction: new InvokableFunction("5 4 * * *", () => { console.log("It's 04:05!"); }) };
You can learn more about cron syntax .