You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/24 07:17:06 UTC

[GitHub] [dolphinscheduler] 244607753 opened a new issue #9156: [Bug] [定时器] 定时器在隔天执行在跨月时会出现从头开始的问题

244607753 opened a new issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   版本是1.3.9
   我有9个任务,它们需要每隔9天各执行1次。
   当我设置的参数为:
   年:默认 
   月:默认
   天:每隔9天执行从1天开始(其余几个任务依次填写从2、3、4、5、6、7、8、9)
   时:0点
   分:0分
   秒:0秒
   ----------------------------------------
   
   
   
   ### What you expected to happen
   
   例如:
   1月有31天,假如我的任务1从第一天开始执行,那么当它执行到31号的时候正在执行任务4。我预想的2月1日应该执行任务5,但是结果是任务1。
   问题:
   当1月31日执行任务4时,我预想的2月1日应该执行任务5,但是结果是任务1。
   
   ### How to reproduce
   
   我有9个任务,它们需要每隔9天各执行1次。
   当我设置的参数为:
   年:默认 
   月:默认
   天:每隔9天执行从1天开始(其余几个任务依次填写从2、3、4、5、6、7、8、9)
   时:0点
   分:0分
   秒:0秒
   
   ### Anything else
   
   如果我要按照我的逻辑来执行任务的话,有其它编排方式嘛?它是一个bug还是其它什么问题。
   
   ### Version
   
   1.3.9
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1082827962


   按照我预想的,是按照红色线条来走的,但是呢,再转换月份的时候就回到了第一个任务。
   ![1648631643775-bd48f39c-3e49-4689-8a50-6226d85f13d8](https://user-images.githubusercontent.com/51120899/160796933-4d5a03a6-46a4-40ab-983b-749a6304b6b8.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1078749446


   什么表达式设置?这不是点一点的事嘛?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-lay commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
github-lay commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1084307948


   这里可能有点误导,第4个参数是日期并非你所想的天。也就是每个月1号,2号,3号.....9号执行


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1077337577


   ![Snipaste_2022-03-24_15-54-55](https://user-images.githubusercontent.com/51120899/159868707-504b02cb-bee1-48b1-bb76-b9a4af143326.jpg)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] caishunfeng commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1078599523


   what's your corn expression set?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1077332510


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Version is 1.3.9
   I have 9 tasks that need to be executed every 9 days.
   When I set the parameters as:
   Year: Default
   month: default
   Days: start from day 1 every 9 days (fill in the remaining tasks in sequence from 2, 3, 4, 5, 6, 7, 8, 9)
   Hour: 0:00
   Score: 0
   seconds: 0 seconds
   ----------------------------------------
   
   
   
   ### What you expected to happen
   
   E.g:
   There are 31 days in January, if my task 1 is executed from the first day, then when it executes to the 31st, task 4 is being executed. I expected task 5 on February 1st, but it turned out to be task 1.
   question:
   When task 4 is executed on January 31st, I expected that task 5 should be executed on February 1st, but the result is task 1.
   
   ### How to reproduce
   
   I have 9 tasks that need to be executed every 9 days.
   When I set the parameters as:
   Year: Default
   month: default
   Days: start from day 1 every 9 days (fill in the remaining tasks in sequence from 2, 3, 4, 5, 6, 7, 8, 9)
   Hour: 0:00
   Score: 0
   seconds: 0 seconds
   
   ### Anything else
   
   If I want to execute tasks according to my logic, is there any other way of choreography? Is it a bug or something else.
   
   ### Version
   
   1.3.9
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1082838771


   我刚刚尝试将月份的周期选项选为1至12月,但是第4天的结果依然还是楼上的结果。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-lay commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
github-lay commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1081678017


   > 什么表达式设置?这不是点一点的事嘛?
   
   就是设置完成后会生成一个类似0 0 0 1/9 * ?  这样的。就是corn expression


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1077332645


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1082841612


   0 0 0 1/9 * ? *
   0 0 0 2/9 * ? *
   0 0 0 3/9 * ? *
   0 0 0 4/9 * ? *
   0 0 0 5/9 * ? *
   0 0 0 6/9 * ? *
   0 0 0 7/9 * ? *
   0 0 0 8/9 * ? *
   0 0 0 9/9 * ? *


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] 244607753 commented on issue #9156: [Bug] [Timer] The timer will start from the beginning when it is executed on the next day and across the month

Posted by GitBox <gi...@apache.org>.
244607753 commented on issue #9156:
URL: https://github.com/apache/dolphinscheduler/issues/9156#issuecomment-1085453636


   我知道,我就是再测试了一下是我错了,还是咱们的软件有问题。对于我的问题,您研究了吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org