Skip to content

Commit 1361cc6

Browse files
author
Shawn McCool
committed
add database backup to fortrabbit worker
1 parent 632d919 commit 1361cc6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

workers/cron.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,13 @@ ContributorImport:
55
- 'contributors:import'
66
interval:
77
minute: 0
8-
hour: 23
8+
hour: 23
9+
10+
DatabaseBackup:
11+
type: cron
12+
script: htdocs/artisan
13+
args:
14+
- 'db:backup --s3-bucket=laravelio --s3-path=backups --gzip --cleanup'
15+
interval:
16+
minute: 0
17+
hour: 4

0 commit comments

Comments
 (0)