]> gitweb.fluxo.info Git - puppet-pyroscope.git/commitdiff
Fixing cronjob redirection
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 May 2014 19:41:46 +0000 (16:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 May 2014 19:41:46 +0000 (16:41 -0300)
manifests/init.pp

index 48c9e2b2fb03518eac6643fedb5c5608e06ff080..bdfca0a619169550bdaec013163daab135c2933a 100644 (file)
@@ -145,7 +145,7 @@ class pyroscope(
   }
 
   cron { "rtcron":
-    command  => '/var/cache/torrent/bin/rtcron &> /var/cache/torrent/rtorrent/log/rtcron.log',
+    command  => '/var/cache/torrent/bin/rtcron > /var/cache/torrent/rtorrent/log/rtcron.log 2>&1',
     user     => torrent,
     hour     => "*",
     minute   => "*",