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

5 lines
179 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("monthly db backup", () => backup("monthly"), "0 0 1 * *");