blob: 772becc8f806c6601d2d44958fd79f6fcfa61196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
set -eu
rm -f "$DATADIR/mtime-nofile.trigger"
cat <<EOF > "$DATADIR/mtime-nofile.tasks"
date:
trigger-file: $DATADIR/mtime-nofile.trigger
trigger-age: 10
command: echo triggered > $DATADIR/mtime-nofile.out
EOF
./desktop-cronish --quiet --max-jobs 1 "$DATADIR/mtime-nofile.tasks"
cat "$DATADIR/mtime-nofile.out"
|