Created
August 12, 2015 15:30
-
-
Save arubis/57df03201ebad146fe4a to your computer and use it in GitHub Desktop.
Attempts at salt module `cron.rm_job`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@salt:/srv/salt$ sudo salt db0\* cron.list_tab deployer | |
db0.mydomain.com: | |
---------- | |
crons: | |
|_ | |
---------- | |
cmd: | |
export BACKUP_SCOPE=full && /usr/local/rbenv/shims/backup perform -t lrnz | |
comment: | |
daymonth: | |
* | |
dayweek: | |
* | |
hour: | |
0 | |
identifier: | |
full-db-backup | |
minute: | |
21 | |
month: | |
* | |
env: | |
|_ | |
---------- | |
name: | |
BACKUP_ENV | |
value: | |
staging | |
pre: | |
special: | |
ubuntu@salt:/srv/salt$ sudo salt db0\* cron.rm deployer identifier=full-db-backup | |
db0.mydomain.com: | |
TypeError encountered executing cron.rm: rm_job() takes at least 2 arguments (2 given). See debug log for more info. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment