Cronjob added inside container
This commit is contained in:
3
reportcron
Normal file
3
reportcron
Normal file
@@ -0,0 +1,3 @@
|
||||
PATH=/usr/local/bundle/bin:/usr/local/bundle/gems/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
GEM_HOME=/usr/local/bundle
|
||||
1 7 * * * root cd /usr/src/app && bundle exec ruby report_mailer.rb >> /var/log/cron.log 2>&1
|
||||
Reference in New Issue
Block a user