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

5 lines
175 B
TypeScript

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