Re: Cron <gump@gump-vm> /usr/bin/find /tmp -type f -ctime +6 | /usr/bin/xargs -r /bin/rm > /dev/null 2>&1

Stefan Bodewig <[email protected]>
Newsgroups gmane.comp.jakarta.gump
Message-ID <[email protected]>
On 2019-05-31, sebb wrote:

> The command:

> /usr/bin/find /tmp -type f -ctime +6 | /usr/bin/xargs -r /bin/rm >
> /dev/null 2>&1

> should perhaps be

> /usr/bin/find /tmp -type f -ctime +6 > /dev/null 2>&1 | /usr/bin/xargs
> -r /bin/rm

> or maybe

> { /usr/bin/find /tmp -type f -ctime +6 | /usr/bin/xargs -r /bin/rm } >
> /dev/null 2>&1

Probably,

Infra is in the process of setting up a new VM for us and the mails will
keep coming in until somebody of us has time to complete the post-puppet
setup - which may be a few weeks to be honest.

https://github.com/apache/infrastructure-puppet/blob/deployment/modules/gump_server/manifests/cronjobs.pp

contains what would need to be fixed IIRC.

Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.