[haiku-sysadmin] Re: Cron <root@vmrepo> /bin/sh /etc/cron-scripts/wipe-stale-cgit-lock-files 2>&1

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-sysadmin@xxxxxxxxxxxxx
  • Date: Thu, 26 Jul 2012 21:48:46 +0200

Hi,

On 2012-07-26 at 21:30:01 [+0200], root@xxxxxxxxxxxxxxxxxxx wrote:
> rm: missing operand
> Try `rm --help' for more information.

my bad: I've installed a cron script that wipes any of cgit's cache lock 
files that are older than 5 minutes, as these block the respective cgit 
page from being updated.

The above message was triggered because I forgot to tell 'xargs' to not run 
'rm' if there aren't any files. That mishap has been fixed, so hopefully it 
should work silently from now on ...

cheers,
        Oliver

Other related posts: