shellphone.app/app/core/api/cron/weekly-backup.ts
2021-09-16 06:56:16 +08:00

6 lines
180 B
TypeScript

import { CronJob } from "quirrel/blitz";
import backup from "../../../../db/backup";
export default CronJob("api/cron/weekly-backup", "0 0 * * 0", async () => backup("weekly"));