PHP Class Pantheon\Terminus\Commands\Backup\Automatic\EnableCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Datei anzeigen Open project: pantheon-systems/terminus

Public Methods

Method Description
enableSchedule ( string $site_env, $options = ['day' => null] ) Set up a week-long TTL backups to be made daily and a month-long TTL to be made weekly

Method Details

enableSchedule() public method

Set up a week-long TTL backups to be made daily and a month-long TTL to be made weekly
public enableSchedule ( string $site_env, $options = ['day' => null] )
$site_env string Site & environment to set the schedule of, in the format `site-name.env`.