# mainwp/trunk/cron/backups.php

MainWP Dashboard: Self-hosted WordPress Management for Agencies, version trunk. 20 lines.

- Page: https://pluginprobe.com/plugins/mainwp/trunk/code/cron/backups.php
- Raw: https://pluginprobe.com/plugins/mainwp/trunk/raw/cron/backups.php
- Modified: 2026-02-24T16:08:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mainwp/trunk/code/cron/backups.php#L10-L20`.

```php
<?php
/**
 * MainWP Backups Cron.
 *
 * Include cron/bootstrap.php & run mainwp_cronbackups_action.
 *
 * @package MainWP/Backups
 */

// include cron/bootstrap.php.
require_once 'bootstrap.php'; // NOSONAR - WP compatible.

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// fire off mainWP->mainwp_cronbackups_action.
$mainWP->mainwp_cronbackups_action();

```
