aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-03-22 18:55:27 +0100
committerDuncaen <mail@duncano.de>2016-03-22 18:55:27 +0100
commitcd9584f77cff4a2cc7c59165174b46af4c018ff0 (patch)
treed7e5b9d91ef63f38dfac8e5082da55d7861dbccd
parentb702851ed9cc83f7381dbf697fe5817a39208d77 (diff)
downloaddotfiles-cd9584f77cff4a2cc7c59165174b46af4c018ff0.tar.gz
sv: add some basic snooze services
-rwxr-xr-xsv/snooze-fstrim/run4
-rw-r--r--sv/snooze-fstrim/timefile0
-rwxr-xr-xsv/snooze-xlocate/run4
3 files changed, 8 insertions, 0 deletions
diff --git a/sv/snooze-fstrim/run b/sv/snooze-fstrim/run
new file mode 100755
index 0000000..7e43191
--- /dev/null
+++ b/sv/snooze-fstrim/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec snooze -n -t ./timefile fstrim -av
diff --git a/sv/snooze-fstrim/timefile b/sv/snooze-fstrim/timefile
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sv/snooze-fstrim/timefile
diff --git a/sv/snooze-xlocate/run b/sv/snooze-xlocate/run
new file mode 100755
index 0000000..e747774
--- /dev/null
+++ b/sv/snooze-xlocate/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec 2>&1
+exec snooze -H13 -M20 'xlocate -u'