Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobber reload doesn't update the program that's used #320

Open
ckotte opened this issue Oct 17, 2020 · 0 comments
Open

jobber reload doesn't update the program that's used #320

ckotte opened this issue Oct 17, 2020 · 0 comments

Comments

@ckotte
Copy link

ckotte commented Oct 17, 2020

Old script:

  letsencrypt_renewal_test:
    cmd: bash -c "/usr/bin/certbot --text --non-interactive --no-bootstrap --no-self-upgrade certonly --webroot --webroot-path=/var/www/letsencrypt   --renew-by-default   -d abc.com
    time: '0 */1 * * * *'
    onError: Continue
    notifyOnSuccess:
      - type: program
        path: /usr/local/bin/send_email.sh
    notifyOnError:
      - type: program
        path: /usr/local/bin/send_email.sh

New script:

  letsencrypt_renewal_test:
    cmd: bash -c "/usr/bin/certbot --text --non-interactive --no-bootstrap --no-self-upgrade certonly --webroot --webroot-path=/var/www/letsencrypt   --renew-by-default   -d abc.com
    time: '0 */1 * * * *'
    onError: Continue
    notifyOnSuccess:
      - type: program
        path: /usr/local/bin/send_jobber_email.sh
    notifyOnError:
      - type: program
        path: /usr/local/bin/send_jobber_email.sh

The old script is still used after jobber reload. I have to delete the job, reload jobber, add the job again with the new script, and reload jobber.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant