#81: Payroll Scheduler Backend Wiring
Category: [FRONTEND]
Difficulty: ● HARD
Tags: scheduler, backend, cron, api, wizard
Description
Connect PayrollScheduler.tsx (and SchedulingWizard.tsx) to the backend scheduling API so that scheduled payroll configs are persisted in the database and the backend cron job triggers on-chain bulk payments at the configured time. The frontend should reflect the next scheduled run and allow real-time cancellation of pending schedules.
Acceptance Criteria
#81: Payroll Scheduler Backend Wiring
Category: [FRONTEND]
Difficulty: ● HARD
Tags:
scheduler,backend,cron,api,wizardDescription
Connect
PayrollScheduler.tsx(andSchedulingWizard.tsx) to the backend scheduling API so that scheduled payroll configs are persisted in the database and the backend cron job triggers on-chain bulk payments at the configured time. The frontend should reflect the next scheduled run and allow real-time cancellation of pending schedules.Acceptance Criteria
POST /api/schedulesand persists config.DELETE /api/schedules/:idand updates UI immediately.CountdownTimerdriven by the server-returnednext_run_attimestamp.bulk_paymentcontract invocation at the scheduled time.