Difference between revisions of "SUNScholar/System Admin"

From Libopedia
Jump to navigation Jump to search
Line 3: Line 3:
 
The following crontab is configured for the "root" account.
 
The following crontab is configured for the "root" account.
 
<pre>
 
<pre>
MAILTO="hgibson@sun.ac.za"
+
MAILTO="myadmin@repo.ac.za"
  
 
00 6 * * *  service tomcat6 restart
 
00 6 * * *  service tomcat6 restart

Revision as of 15:09, 7 January 2012

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