Commit 7d0d7772 authored by Christopher Huhn's avatar Christopher Huhn 🥚
Browse files

Run actionnotify only when it exists

parent 2faffa26
......@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license "All rights reserved"
description "Installs/Configures foswiki"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.3.0"
version "0.3.1"
depends "apache2"
depends "apt"
......
......@@ -8,6 +8,6 @@
24 7,14 * * 1-5 www-data perl -I <%= @base_dir %>/bin <%= @base_dir %>/tools/mailnotify -q
0 0 * * * www-data cd <%= @base_dir %>/bin ; ./statistics >/dev/null 2>&1
0 12 * * 1,2,3,5 www-data cd <%= @base_dir %>/bin && <%= @base_dir %>/tools/actionnotify "state=\"open\" within=\"2\""
0 12 * * 4 www-data cd <%= @base_dir %>/bin && <%= @base_dir %>/tools/actionnotify "state=\"open\" within=\"30\""
0 12 * * * www-data cd <%= @base_dir %>/bin && <%= @base_dir %>/tools/actionnotify "changedsince=\"yesterday\""
0 12 * * 1,2,3,5 www-data test -x <%= @base_dir %>/tools/actionnotify && (cd <%= @base_dir %>/bin; <%= @base_dir %>/tools/actionnotify "state=\"open\" within=\"2\"")
0 12 * * 4 www-data test -x <%= @base_dir %>/tools/actionnotify && (cd <%= @base_dir %>/bin; <%= @base_dir %>/tools/actionnotify "state=\"open\" within=\"30\"")
0 12 * * * www-data test -x <%= @base_dir %>/tools/actionnotify && (cd <%= @base_dir %>/bin; <%= @base_dir %>/tools/actionnotify "changedsince=\"yesterday\"")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment