• 
      

    Update the crontab generation to produce a better file for virtualenvs.

    Review Request #13118 — Created June 20, 2023 and submitted

    Information

    Review Board
    release-5.0.x

    Reviewers

    For virtualenv-based installs, we now just hard-code the path to
    rb-site, which will ensure the right Python environment is used.

    For a global install, we use the logic we've had before. We could change
    this to also point to the rb-site path, but the plan for now is to avoid
    altering behavior that's known to work globally.

    Tested the crontabs for both on two fresh sites, making sure they both
    ran as expected.

    Summary ID
    Update the crontab generation to produce a better file for virtualenvs.
    For virtualenv-based installs, we now just hard-code the path to rb-site, which will ensure the right Python environment is used. For a global install, we use the logic we've had before. We could change this to also point to the rb-site path, but the plan for now is to avoid altering behavior that's known to work globally.
    f6078e84fb290e1d5381b0405eda7329608ffa68
    maubin
    1. Ship It!
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.0.x (3ff6712)