function backup_migrate_cron

cis7 backup_migrate.module backup_migrate_cron()
cle7 backup_migrate.module backup_migrate_cron()
elmsmedia7 backup_migrate.module backup_migrate_cron()
icor7 backup_migrate.module backup_migrate_cron()
meedjum_blog7 backup_migrate.module backup_migrate_cron()
mooc7 backup_migrate.module backup_migrate_cron()

Implementation of hook_cron().

Takes care of scheduled backups and deletes abandoned temp files.

File

sites/all/modules/ulmus/backup_migrate/backup_migrate.module, line 168
Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (e.g. cache_*)

Code

function backup_migrate_cron() {
  // Set the message mode to logging.
  _backup_migrate_message_callback('_backup_migrate_message_log');

  backup_migrate_include('schedules');
  backup_migrate_schedules_run();

  backup_migrate_include('files');
  _backup_migrate_temp_files_delete();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.