|
Line 0
Link Here
|
|
|
1 |
@%@UCRWARNING=# @%@ |
| 2 |
# |
| 3 |
# cron job for univention-ldap-server |
| 4 |
# |
| 5 |
|
| 6 |
SHELL=/bin/sh |
| 7 |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
| 8 |
|
| 9 |
@!@ |
| 10 |
command = '/usr/sbin/univention-ldap-backup' |
| 11 |
interval = configRegistry.get('slapd/backup/cron', '0 0 * * *') |
| 12 |
user = 'root' |
| 13 |
if configRegistry.is_true('slapd/backup', True): |
| 14 |
print '%s %s %s' % (interval, user, command) |
| 15 |
else: |
| 16 |
print '# %s disbaled by UCR slapd/backup' % command |
| 17 |
@!@ |