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

5 lines
177 B
TypeScript

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