Skip to content
Snippets Groups Projects
Commit 5cbfe8ea authored by jurgenhaas's avatar jurgenhaas
Browse files

docker/l3d#146 Replace global drush with vendor location

parent dea5bcf9
No related branches found
No related tags found
1 merge request!93Merging develop into main
......@@ -360,7 +360,7 @@ class Handler extends BaseHandler {
}
$crontabs['www-data']['MySQL backup'] = [
'schedule' => '5 0 * * *',
'command' => 'cd /var/www/html && /usr/local/bin/drush sql:dump --result-file=/var/backups/mysql/drupal.sql',
'command' => 'cd /var/www/html && /var/www/html/vendor/bin/drush sql:dump --result-file=/var/backups/mysql/drupal.sql',
];
$crontabs['enable'] = TRUE;
$crontabs['enable_mysql_backup'] = TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment