]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
bmw aem - update cronjob
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 16 Aug 2016 08:27:47 +0000 (10:27 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Tue, 16 Aug 2016 08:27:54 +0000 (10:27 +0200)
customer/bmw/www-bmw-de.pixelpark.net.yaml

index 20b593fb0f3d5eb66ff579b1020081f841817fac..371626c1741d2a82f31bab205ce3df75b8d49e7a 100644 (file)
@@ -4,10 +4,9 @@ site::additional_classes:
 
 # Cron for Compaction
 site::profile::cron::cronjobs:
-  compaction:
-    user: aem
-    command: 'sudo -n /bin/systemctl stop puppet ; /opt/adobe/publish/crx-quickstart/bin/oak_compactor.py ; sudo -n /bin/systemctl start puppet'
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
     minute: 0
-    hour: 3
-    weekday: 0
-    description: AEM Tar Compaction
+    hour: 2
+    description: ZFS Snapshot
\ No newline at end of file