How does "Every x:months" works on the server restart?

16 views
Skip to first unread message

Pramod Shoppi

unread,
Mar 30, 2023, 1:58:42 AM3/30/23
to Whenever Gem
Hi,

I am new to this scheduler and I am curious how "Every" does works here if I specify :months, :years etc.

Here is my scheduler job:
every 1.months, at: '00:01 am' do
rake "some job like sending reminder emails"
end

On each deployment the server restarts so I am not sure whether this job will also restart and set for next one month from now on each deployment or it will continue with it's own time frame irrespective to the various deployments/reboots within that month?

Please do the needful.
Reply all
Reply to author
Forward
0 new messages