12 lines
423 B
TypeScript
12 lines
423 B
TypeScript
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'],
|
|
})
|