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