Difference between revisions of "SUNScholar/System Admin"

From Libopedia
Jump to navigation Jump to search
Line 8: Line 8:
 
MAILTO="myadmin@repo.ac.za"
 
MAILTO="myadmin@repo.ac.za"
  
00 6 * * *  service tomcat6 restart
+
30 4 * * *  service tomcat6 restart
15 13 * * *  service tomcat6 restart
 
 
@midnight    /usr/local/bin/backup.sh
 
@midnight    /usr/local/bin/backup.sh
 
</pre>
 
</pre>

Revision as of 12:50, 30 January 2012

The daily "root" crontab
Disaster Recovery
root crontab

The following crontab is configured for the "root" account.

MAILTO="myadmin@repo.ac.za"

30 4 * * *   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