Redmine-Periodic-Task icon indicating copy to clipboard operation
Redmine-Periodic-Task copied to clipboard

Time Zone support

Open gainskills opened this issue 6 years ago • 1 comments

Hi there,

Thanks for your effort on this awesome plugin.

I'm a fresher to Ruby and struggled on this plugin's timezone setting, related issues:

  • https://github.com/jperelli/Redmine-Periodic-Task/issues/25
  • https://github.com/jperelli/Redmine-Periodic-Task/issues/79

What I proposed are:

  1. Refer to @alexander-sessa 's suggestion, made the next run time in the new periodic task is possible
  2. Fix the time of 'next run time' is fixed '09:00:00; when the 'business day' option is enabled.

I would say what I changed is not the best solution, reason: For -2, the time is changing because of time.now changes while crontab won't run the task right after the scheduled time. All I want to do is sharing what I did and hope it could be a hint for the final solution.

Thanks,

gainskills avatar Jan 06 '20 09:01 gainskills

I have the same problem, the time of 'next run time' is fixed '09:00:00; when the 'business day' option is enabled.

dobriand avatar Feb 05 '21 14:02 dobriand