gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Cron <gump@gump-vm> /usr/bin/find /tmp -type f -ctime +6 | /usr/bin/xargs -r /bin/rm > /dev/null 2>&1
Date Fri, 31 May 2019 13:25:30 GMT
On 31/05/2019 13:22, Stefan Bodewig wrote:
> 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.

I can find some time. To be clear the issue is that the cron jobs aren't
quite defined correctly and those definitions need to be fixed? And the
fixes need to be made in the file quote above and then Puppet will
deploy the updated cron jobs to our new VM?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message