Skip to content

How to set the daily time as the time of a certain time zone, thank you #826

@hopy11

Description

@hopy11
every 1.day, at: '3:00' do
  runner "MyModel.nightly_archive_job"
   end

The 3:00 above is UTC time, right? What if I want to set 3:00 every day in Beijing, China time zone? How can I write time expressions? I wrote "at: '3:00 +0800'" like this, but it didn't work.

Thanks ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions