Created
May 31, 2015 16:41
-
-
Save lucianosousa/ab8548660249b1e8871a to your computer and use it in GitHub Desktop.
crontab -e
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
* * * * * /bin/bash -l -c 'sh /home/ec2-user/scripts/monitor.sh postgresql93 redis-server nginx memcached >> /var/log/cron 2>&1' | |
* * * * * /bin/bash -l -c 'sleep 30; sh /home/ec2-user/scripts/monitor.sh postgresql93 redis-server nginx memcached >> /var/log/cron 2>&1' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment