delay-timer icon indicating copy to clipboard operation
delay-timer copied to clipboard

How to set a microsecond interval for task

Open KaitaoQiu opened this issue 3 years ago • 3 comments

Hi delay-timer guys, how to set a microsecond intervals for a task. From source-code, I can only find seconds-related function, and I can't use a cron string to generate a microsecond task, right?

KaitaoQiu avatar Jan 20 '22 10:01 KaitaoQiu

Hi delay-timer guys, how to set a microsecond intervals for a task. From source-code, I can only find seconds-related function, and I can't use a cron string to generate a microsecond task, right?

Hi friend, currently delay-timer does not support milliseconds task scheduling, the smallest unit is now seconds.

But I will consider your request in the next iteration plan, and I will reply to you via issue if there is any progress.

BinChengZhao avatar Jan 20 '22 13:01 BinChengZhao

Thanks, I will try to modify it by myself, because other task schedulers in rust-lang don't support microsecond feature too, lol

KaitaoQiu avatar Jan 20 '22 14:01 KaitaoQiu

font{
    line-height: 1.6;
}
ul,ol{
    padding-left: 20px;
    list-style-position: inside;
}





    Yes, the semantics of current cron expressions barely support millisecond-features, but it is possible. If you are confused about changing the delay-timer, or need to make a decision, I can help you with that too!
        
    


  
On 01/20/2022 ***@***.***> wrote: 

Thanks, I will try to modify it by myself, because other task schedulers in rust-lang don't support microsecond feature too, lol

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

BinChengZhao avatar Jan 21 '22 06:01 BinChengZhao