Skip to content
Snippets Groups Projects
Commit f4eaae57 authored by Dimitar Dimitrov's avatar Dimitar Dimitrov
Browse files

Add a missing RAILS_ENV=production to crontab clearing

All other commands in the guide set this env var, but it's missing here
and this causes whenever not to clear the crontab file of gitab_ci
properly.
parent 34431d8e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -143,7 +143,7 @@ sudo gitlab-ctl stop ci-sidekiq
# Source
sudo service gitlab_ci stop
cd /home/gitlab_ci/gitlab-ci
sudo -u gitlab_ci -H bundle exec whenever --clear-crontab
sudo -u gitlab_ci -H bundle exec whenever --clear-crontab RAILS_ENV=production
```
 
### II. Moving data
Loading
Loading
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