[Puppet Users] Cron question

Darvin Denmian
Mon, 12 Apr 2010 21:45:07 -0000

Hello,

Why the following lines doesn''t work?

   cron { "app" :
      command     => ""nice -n -10 /usr/bin/php
/var/www/public_html/rotinas/rotinas.php 2>&1>>
/var/log/app.log",
      environment => "PATH=$PATH",
      user        => root,
      hour        => ''*'',
      minute      => ''*'',
      month       => ''*'',
      monthday    => ''*'',
      weekday     => ''*'',
   }

When I try to execute puppet I got the following message:

"-":6: bad minute
errors in crontab file, can''t install.

Thanks !