Current time: 11-27-2024, 06:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
/bin/sh: /usr/bin/find: Argument list too long
Author Message
jakob2002 Offline
Junior Member
*

Posts: 27
Joined: Mar 2008
Reputation: 0
Post: #1
/bin/sh: /usr/bin/find: Argument list too long
Hallo,

seit einigen Tagen erhalte ich per Mail folgenden Cron-Fehler:

Betreff: Cron <root@srv01> find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm

Inhalt: /bin/sh: /usr/bin/find: Argument list too long

Weiß jemand wo das Problem ist? Der Cron-Eintrag sieht wie folgt aus:
Code:
# Remove config backups older than seven days
@daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs -r /bin/rm
[/code]
07-09-2008 05:48 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
/bin/sh: /usr/bin/find: Argument list too long - jakob2002 - 07-09-2008 05:48 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)