Move script calls from cron.daily to cron.d @daily and @reboot
dsa-nagios-nrpe-config (XX) unstable; urgency=low
- * Move apt status update from cron.daily to usr/sbin/dsa-update-apt-status
+ * Move apt status update from cron.daily to usr/sbin/dsa-update-apt-status.
+ * Move script calls from cron.daily to cron.d @daily and @reboot.
- -- Peter Palfrader <weasel@debian.org> Sun, 06 Jul 2008 11:23:44 +0200
+ -- Peter Palfrader <weasel@debian.org> Sun, 06 Jul 2008 11:27:36 +0200
dsa-nagios-nrpe-config (45) unstable; urgency=low
--- /dev/null
+@reboot root sleep 10m && [ -x /usr/share/dsa/weak-ssh-keys-check ] && /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys
+@daily root [ -x /usr/share/dsa/weak-ssh-keys-check ] && /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys
+
+@reboot root sleep 15m && [ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status
+@daily root [ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status
+
+# vim:ft=crontab:
+++ /dev/null
-#!/bin/bash
-
-[ -x /usr/share/dsa/weak-ssh-keys-check ] && /usr/share/dsa/weak-ssh-keys-check -s /var/cache/dsa/nagios/weak-ssh-keys
-
-[ -x /usr/sbin/dsa-update-apt-status ] && /usr/sbin/dsa-update-apt-status &