diff options
Diffstat (limited to 'tests/mtime-nofile.script')
-rwxr-xr-x | tests/mtime-nofile.script | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/mtime-nofile.script b/tests/mtime-nofile.script new file mode 100755 index 0000000..30ea4b1 --- /dev/null +++ b/tests/mtime-nofile.script @@ -0,0 +1,14 @@ +#!/bin/sh + +set -eu + +rm -f "$DATADIR/foo.trigger" +cat <<EOF > "$DATADIR/foo.tasks" +date: + trigger-file: $DATADIR/foo.trigger + trigger-age: 10 + command: echo triggered > $DATADIR/foo.out +EOF + + +./desktop-cronish --stop-after 5 "$DATADIR/foo.tasks" |