Giter VIP home page Giter VIP logo

cronut's People

Contributors

bhtucker avatar blahblahblah- avatar danielschwartz avatar dependabot[bot] avatar geoffharcourt avatar nodox avatar pjambet avatar tvogels01 avatar werkshy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cronut's Issues

Authentication Is Too Complicated

I don't know why the ping requests need to be so locked down. I think just sending the job token over https is probably secure enough - we could add an optional shared API key too.

Once-a-day cron jobs appear to have time zone problems

I have the following issue with cron jobs run once a day:

When I save the job, the next scheduled time appears in EDT time, but I have to save the job with a cron expression written in UTC time (so a job at noon would be * 16 * * *). That's no big deal (and may be preferable), but when the job gets pinged, the verification / next scheduled time-setting behavior appears to be four hours off (I'm in EST/EDT, so the mismatch is the same as the offset from UTC).

The specs test for a cron job that is running every ten minutes, so if Harry's is never running once-a-day jobs, I can see how this might be broken. I'm happy to write a PR with specific tests and a fix (if it is indeed broken), but in order to not generate any new compatibility problems with existing users of Cronut, I have a couple questions:

  1. Are cron expressions in Cronut meant to be expressed in UTC or the local time zone?
  2. Is Harry's currently using any cron jobs that are only run once a day? If so, can you show me an example from your setup? I have a job I've been executing daily at EST midnight, and it either fails for being run too early (if I write the cron as UTC), or it fails for being run too late (if I write the cron as EST and ignore the returned time in the interface).

Make IP whitelist optional

Another question about potential functionality that I'm going to use that might make sense upstream: is there openness to making the IP whitelist optional?

Pings fail with error code 401

Hard to tell what happened but in the current master version of cronut ping requests fail. It might be strong parameter requirements in rails 4.

Should be fairly straightforward to fix if we write some request specs.

Non-HTTP auth

Is the Harry's team open to building some very simple auth with a mechanism rather than HTTP? I'm proposing to do email/password auth with http://github.com/thoughtbot/clearance, which is much lower overhead than Devise, but still allows for email/password auth for multiple users.

I'm going to end up doing this for our own deployment of Cronut, so wanted to check.

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.