diff --git a/config/schedule.rb b/config/schedule.rb index de75cf9d48e..574198abc5b 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -18,3 +18,11 @@ # end # Learn more: http://github.com/javan/whenever + +# Cron Job log file +set :output, "#{Dir.pwd}/log/cron_log.log" + +# To simply print date into the log file for checking if cron job is working properly +every 1.minutes do + command "date -u" +end