docs: add note regarding setting the cron-schedule

This commit is contained in:
Jose Diaz-Gonzalez
2016-11-24 16:08:58 -07:00
parent 6fc783b0dc
commit aace098e40

View File

@@ -205,7 +205,7 @@ The `import` command should be used with any non-plain-text files exported by `p
$ dokku postgres:connect db < ./dump.sql $ dokku postgres:connect db < ./dump.sql
``` ```
## security ## Security
The connection to the database is done over SSL. A self-signed certificate is The connection to the database is done over SSL. A self-signed certificate is
automatically generated when creating the service. It can be replaced by a automatically generated when creating the service. It can be replaced by a
@@ -233,7 +233,7 @@ dokku postgres:backup-deauth lolipop
dokku postgres:backup lolipop BUCKET_NAME dokku postgres:backup lolipop BUCKET_NAME
# schedule a backup # schedule a backup
# CRON_SCHEDULE is the crontab expression, eg. "0 3 * * *" for each day at 3am # CRON_SCHEDULE is a crontab expression, eg. "0 3 * * *" for each day at 3am
dokku postgres:backup-schedule lolipop CRON_SCHEDULE BUCKET_NAME dokku postgres:backup-schedule lolipop CRON_SCHEDULE BUCKET_NAME
# remove the scheduled backup from cron # remove the scheduled backup from cron