shellphone.app/app/cron-jobs/daily-backup.ts

5 lines
175 B
TypeScript
Raw Normal View History

2022-07-03 13:42:31 +00:00
import { CronJob } from "~/utils/queue.server";
import backup from "~/utils/backup-db.server";
export default CronJob("daily db backup", () => backup("daily"), "0 0 * * *");