]> piware.de Git - bin.git/commitdiff
postinst-setup: install martin crontab for backup
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 6 Aug 2007 20:59:04 +0000 (22:59 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 6 Aug 2007 20:59:04 +0000 (22:59 +0200)
postinst-setup

index 9431fe9a06e198000ec046ca270a365692a91f04..c7ceba295ca19bf39bc8d514d2c8014bb5746874 100755 (executable)
@@ -77,3 +77,9 @@ ln -s /mirror /var/www/mirror
 ifdown eth1
 ifup eth1
 /etc/init.d/dhcp3-server restart
+
+# crontabs
+crontab -u martin - <<EOF
+# m h  dom mon dow   command
+05 * * * * $HOME/bin/backup
+EOF