-
-
Save anthonyscolaro/34a2c7f4faff99a7de61 to your computer and use it in GitHub Desktop.
How can I set it up to email if there's an error?
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
example_cron: | |
cron.present: | |
- name: 'cd /var/www/{{ grains['domain'] }}/current/ && php bin/cron' | |
- user: deploy | |
- minute: '*' | |
- hour: '*' | |
- daymonth: '*' | |
- month: '*' | |
- dayweek: '*' | |
- identifier: 'example_cron' | |
- comment: 'Installed via Salt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment