Giter VIP home page Giter VIP logo

Comments (6)

gaprl avatar gaprl commented on June 25, 2024 1

This is a question we need to ask the Cron's team cc @gaprl

Hey @cleptric we do support the */5 9-18 * * * expression, the only crontab expression we don't support are six-field ones (that includes seconds).

from sentry-laravel.

stayallive avatar stayallive commented on June 25, 2024 1

We've identified that the problem is also that Laravel currently doesn't expose the information for us to use, so we are unable to know what the ->between schedule is.

If you are curious that is because Laravel uses a closure to "skip" the execution, so a cron with a between schedule is executed in their normal schedule but skipped by a closure outside the range defined in the between call. There are no properties on the event where we can extract that information from to properly define a cron schedule. See: https://github.com/laravel/framework/blob/484e9c2c78637e3484681d7569a0e3f878dcd594/src/Illuminate/Console/Scheduling/ManagesFrequencies.php#L23-L71

from sentry-laravel.

cleptric avatar cleptric commented on June 25, 2024

We'll update the docs, we do not support these types of schedules in Sentry.

from sentry-laravel.

rodolfoBee avatar rodolfoBee commented on June 25, 2024

Any plans to support it in the future?

from sentry-laravel.

cleptric avatar cleptric commented on June 25, 2024

This is a question we need to ask the Cron's team cc @gaprl

from sentry-laravel.

cleptric avatar cleptric commented on June 25, 2024

We clarified our docs in getsentry/sentry-docs#8643

Tasks that use Laravel's between, unlessBetween, when and skip methods are currently not supported.
For the best results, we recommend using Laravel's cron method to define your schedule's frequency.

from sentry-laravel.

Related Issues (20)

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.