Skip to content

Bot Configuration

Siqi Tian edited this page Feb 5, 2017 · 3 revisions

Bot is a set of python scripts that takes care of routine server tasks and communicate to admin through email.

Backup and Cleanup

The server handles backup weekly. Settings can be configured at /admin/backup/.

Every week, it runs:

  • Zip up static files, MySQL, Apache, and local config/ files.
  • Upload most recent backup onto daslab Google Drive.
  • Clean up obsolete backup files in Google Drive.

Every 3 months, it cleans up old jobs' result files and remove them from MySQL. The threshold is defined as KEEP_JOB.

Error Report

Server reports to admin for any runtime error it encounters, in real time. Please do hotfixes as soon as possible if it's a major bug!

Clone this wiki locally