chore: seminarhof customer project
This commit is contained in:
11
packages/functions/src/wirings/scheduled.wiring.ts
Normal file
11
packages/functions/src/wirings/scheduled.wiring.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { wireScheduler } from '#pikku'
|
||||
import { bookingLifecycleDaily } from '../functions/booking-lifecycle.function.js'
|
||||
|
||||
// Daily at 06:00. The job's date math is Europe/Berlin regardless of the
|
||||
// platform's clock, so the exact server-local fire time only sets cadence.
|
||||
wireScheduler({
|
||||
name: 'booking-lifecycle-daily',
|
||||
schedule: '0 6 * * *',
|
||||
func: bookingLifecycleDaily,
|
||||
tags: ['daily', 'booking-lifecycle'],
|
||||
})
|
||||
Reference in New Issue
Block a user