Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set smtp-use-starttls
- set nss-config-dir=/home/theuser/.certs
- set ssl-verify=ignore
- set smtp=smtp://smtp.gmail.com:587
- set smtp-auth=login
- set smtp-auth-user=xxx
- set smtp-auth-password=yyy
- set from="rabbitovh@thehologram.com(Rabbit Server)"
- echo "hi" | mailx xxx@gmail.com
- CRONDARGS="-m /usr/bin/mailx"
- MAILTO="xxx@gmail.com"
- # Every minute check processes are running, restart if necessary and send an email.
- * * * * * source /home/theuser/.bashrc; global audit_regular
- # Every day, send an email describing the state of the host and its jobs.
- 0 5 * * * source /home/theuser/.bashrc; global audit_daily
- # Every Monday at 7am, archive the logs.
- 0 7 * * 1 source /home/theuser/.bashrc; global archive_logs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement