Browse Source

Setup permissions on the crontab

main
Luke Murphy 5 years ago
parent
commit
c65d90ad38
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 1
      fabfile.py

1
fabfile.py

@ -33,6 +33,7 @@ def dailycron(c):
# See https://github.com/fabric/fabric/issues/1750
c.put('./cron/voicegardens', remote='./')
c.sudo('mv voicegardens /etc/cron.daily')
c.sudo('chown root:root /etc/cron.daily/voicegardens')
print('New cron in place <3')
@task

Loading…
Cancel
Save