shellphone.app/app/core/api/cron/monthly-backup.ts

6 lines
182 B
TypeScript
Raw Normal View History

2021-09-15 22:56:16 +00:00
import { CronJob } from "quirrel/blitz";
import backup from "../../../../db/backup";
export default CronJob("api/cron/monthly-backup", "0 0 1 * *", async () => backup("monthly"));