shellphone.app/app/cron-jobs/monthly-backup.ts
2022-07-03 15:42:31 +02:00

5 lines
179 B
TypeScript

import { CronJob } from "~/utils/queue.server";
import backup from "~/utils/backup-db.server";
export default CronJob("monthly db backup", () => backup("monthly"), "0 0 1 * *");