Giter VIP home page Giter VIP logo

Comments (10)

iusearch avatar iusearch commented on July 25, 2024 1

It is working properly. it might be i forgot to restart program. If it still occurs, i will tell you. And thanks for your works.

from async_cron.

aohan237 avatar aohan237 commented on July 25, 2024

for example? show me a sample code

from async_cron.

iusearch avatar iusearch commented on July 25, 2024
CronJob(name='sample').every(3).hour.from("7:00").to("23:00").at(":00").go()

from async_cron.

aohan237 avatar aohan237 commented on July 25, 2024

feature added 'from_hour' and 'to_hour'.
i think this will be enough for limiting time. you can refer to the tests folder .

only run some small tests. let me know if something happens.

from async_cron.

iusearch avatar iusearch commented on July 25, 2024

Shouldn't this be False?

return True

from async_cron.

iusearch avatar iusearch commented on July 25, 2024

It still runs after my to_hour().

from async_cron.

aohan237 avatar aohan237 commented on July 25, 2024

show me the sample code

from async_cron.

iusearch avatar iusearch commented on July 25, 2024

I will try to debug later

from async_cron.

iusearch avatar iusearch commented on July 25, 2024

Sorry, it is still there

CronJob(name='xxx').every(3).hour.at(":00").from_hour(8).to_hour(22).go(xxx)

like this one, it set from 8 to 22 o'clock but it still runs like 1:00, 4:00 something. I'm not pretty sure about your framework so I decide to ask you for help. Can you help me a little bit pls?

from async_cron.

aohan237 avatar aohan237 commented on July 25, 2024

i will have a look about this.

and it is easy to test about its behaviour. you can make every(1).from_hour(now).to_hour(now+1) to test .

befor i get into it, you may test this for your self.

then let me know about your tests

i will update something if i get something,too

from async_cron.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.