Project

General

Profile

Download (782 Bytes) Statistics
| Branch: | Tag: | Revision:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# Script for initiating removal of orphaned content
00 22 * * 0 root foreman-rake katello:delete_orphaned_content RAILS_ENV=production >/dev/null 2>&1

# cronjob to clean puppet envs for puppet 4
15 22 * * 0 root [ -d /etc/puppetlabs/code/environments ] && find /etc/puppetlabs/code/environments/KT* -maxdepth 0 -type d -empty -delete > /dev/null 2>&1

# cronjob to clean puppet envs for puppet 3
20 22 * * 0 root [ -d /etc/puppet/environments ] && find /etc/puppet/environments/KT* -maxdepth 0 -type d -empty -delete > /dev/null 2>&1

# Script for publishing unpublished repositories
00 23 * * * root foreman-rake katello:publish_unpublished_repositories RAILS_ENV=production >/dev/null 2>&1
(13-13/15)