I am using whenever gem to schedule jobs but I am not able to figure out how to schedule a job for the end of each month. Below is the which I want to run at the end of each month.
schedule.rb
every 1.month, at: 'end of the month at 5am' do
rake 'update_user', environment: ENV['RAILS_ENV']
end
Please help me fix this