aboutsummaryrefslogtreecommitdiffstats
path: root/packages/base/src/files/etc/cron.d
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/files/etc/cron.d')
-rw-r--r--packages/base/src/files/etc/cron.d/logrotate.cron1
-rw-r--r--packages/base/src/files/etc/cron.d/monitor.cron1
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/base/src/files/etc/cron.d/logrotate.cron b/packages/base/src/files/etc/cron.d/logrotate.cron
new file mode 100644
index 000000000..aa78eed24
--- /dev/null
+++ b/packages/base/src/files/etc/cron.d/logrotate.cron
@@ -0,0 +1 @@
+5 1 * * * /usr/sbin/logrotate -s ${{POLICY_HOME}}/var/logrotate.status ${{POLICY_HOME}}/etc/logrotate.d/monitor.conf
diff --git a/packages/base/src/files/etc/cron.d/monitor.cron b/packages/base/src/files/etc/cron.d/monitor.cron
new file mode 100644
index 000000000..4272bf487
--- /dev/null
+++ b/packages/base/src/files/etc/cron.d/monitor.cron
@@ -0,0 +1 @@
+* * * * * . ${{POLICY_HOME}}/etc/profile.d/env.sh; monitor.sh </dev/null > /dev/null 2>&1