Testing function func1.js, which is triggered by a timer and created in an earlier journal, is simple. You can run func start in the function app directory.
// function1.js
const { app } = require("@azure/functions");
app.timer("func1", {
// schedule: '0 */5 * * * *',
schedule: "*/10 * * * * *",
handler: (myTimer, context) => {
context.log("Timer function processed request.");
},
});
func start
Azure Functions Core Tools
Core Tools Version: 4.0.6821 Commit hash: N/A +c09a2033faa7ecf51b3773308283af0ca9a99f83 (64-bit)
Function Runtime Version: 4.1036.1.23224
[2026-05-14T14:15:47.691Z] Worker process started and initialized.
Functions:
func1: timerTrigger
For detailed output, run func with --verbose flag.
[2026-05-14T14:15:50.020Z] Executing 'Functions.func1' (Reason='Timer fired at 2026-05-14T22:15:50.0057128+08:00', Id=f74e58ad-2bf8-4480-8ccf-a491d91e4433)
[2026-05-14T14:15:50.068Z] Timer function processed request.
[2026-05-14T14:15:50.082Z] Executed 'Functions.func1' (Succeeded, Id=f74e58ad-2bf8-4480-8ccf-a491d91e4433, Duration=72ms)