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"
  
30 4 * * *  service tomcat6 restart
 
 
@midnight    /usr/local/bin/backup.sh
 
@midnight    /usr/local/bin/backup.sh
 
</pre>
 
</pre>

Revision as of 10:54, 30 March 2012

Tasks
"root" user crontab

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

MAILTO="myadmin@repo.ac.za"

@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