Git Product home page Git Product logo

Comments (2)

philipithomas avatar philipithomas commented on July 26, 2024

Hey there - it's been a few years since I've looked at this code. But, I'll try answering:

I create recurring shifts for roles or employees, but these never seem to appear on the schedules. They're there when I list shifts, but the schedule is clean, no shifts are added unless I add them manually. No errors are thrown anywhere, and the recurring shifts are there in the database. At what point are they supposed to be created? There are many references in the code to a schedule being unpublished/published, but nothing in the interface seems to refer to this.

It seems to me that the cron process isn't set up: https://github.com/philipithomas/staffjoy-cron

(You don't need that specific code - but, you need to hit the internal cron endpoint on a recurring basis)

It does not appear that users can request time-off from their own accounts. Managers are able to create time off requests and accept them in their own accounts, but users don't seem to be able to. Is this actually not supported? or am I missing something?

They should be able to. I suspect this is also related to the cron setup - because the week hasn't been initiated in the database yet by the cron process.

from suite.

0x41mmarVM avatar 0x41mmarVM commented on July 26, 2024

The cron endpoint was being hit frequently and regularly, but when I double checked following your response, I noticed it was getting a 404, so that makes sense.

Thanks a lot for your help!

from suite.

Related Issues (11)

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.