Able to add scheduled backups through the UI

This commit is contained in:
Andras Bacsai
2023-08-09 17:57:27 +02:00
parent 04622a9e3b
commit d2a4dbf283
24 changed files with 367 additions and 20571 deletions

View File

@@ -0,0 +1,10 @@
<?php
const DATABASE_TYPES = ['postgresql'];
const VALID_CRON_STRINGS = [
'hourly' => '0 * * * *',
'daily' => '0 0 * * *',
'weekly' => '0 0 * * 0',
'monthly' => '0 0 1 * *',
'yearly' => '0 0 1 1 *',
];