Difference between revisions of "SUNScholar/System Admin"
Jump to navigation
Jump to search
| Line 10: | Line 10: | ||
@midnight /usr/local/bin/backup.sh | @midnight /usr/local/bin/backup.sh | ||
</pre> | </pre> | ||
| + | '''Replace %myadmin@repo.ac.za% with the email address of the person to receive admin email.''' | ||
'''[[SUNScholar/IR|Back to IR Help]]''' | '''[[SUNScholar/IR|Back to IR Help]]''' | ||
Revision as of 20:36, 7 January 2012
- Disaster Recovery
- root crontab
The following crontab is configured for the "root" account.
MAILTO="myadmin@repo.ac.za" 00 6 * * * service tomcat6 restart 15 13 * * * service tomcat6 restart @midnight /usr/local/bin/backup.sh
Replace %myadmin@repo.ac.za% with the email address of the person to receive admin email.
Back to IR Help