From 9697581af776a8e76d307b7f157a8c5261777774 Mon Sep 17 00:00:00 2001 From: Vladislav Andreev Date: Sat, 6 Jul 2024 14:28:45 +0300 Subject: [PATCH] Update cron to debug --- config/crontab | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/crontab b/config/crontab index 1b6c363..bd981b4 100644 --- a/config/crontab +++ b/config/crontab @@ -1 +1,4 @@ -@hourly bundle exec rails runner 'DlCleanup.call' +SHELL=/bin/bash +BASH_ENV=/rails/tmp/.cron.env + +@hourly cd /rails && bin/rails runner 'DlCleanup.call' >> /tmp/cron.log 2>&1