How can I schedule a job to run daily at exactly the specific time?

I have seen examples of how we can create jobs that run every specified interval such as:

after_initialize do
    module ::Jobs
        class PluginTestJob < ::Jobs::Scheduled
            every 30.seconds
            def execute(args)
                puts "Get the job done"
            end
        end
    end
end

I want to know how I can schedule a job to run daily at exactly the specific time for example 9 PM Pacific Time.

1 Like

Instead of

Use daily at: 12.hours to run a job once a day at midnight, for example.

You can read more at

4 Likes

Thanks, @Falco! What timezone does it use, or is there a way to specify the timezone?

1 Like

Lovely. Super convenient. Thanks for this info