vaillant_cache_update:
user: apache
environment: "PATH=/usr/local/rvm/gems/ruby-2.2.9/bin:/usr/local/rvm/gems/ruby-2.2.9@global/bin:/usr/local/rvm/rubies/ruby-2.2.9/bin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
- command: '/usr/local/rvm/wrappers/ruby-2.2.9/bundle exec rake smile:update_image_cache --silent >> /var/www/vaillant/log/cron.log' # 30 days
+ command: 'cd /var/www/vaillant && /usr/local/rvm/wrappers/ruby-2.2.9/bundle exec rake smile:update_image_cache --silent >> /var/www/vaillant/log/cron.log' # 30 days
description: Update image cache