Current time: 11-26-2024, 03:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
/bin/sh: root: command not found
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: /bin/sh: root: command not found
Hi grungy

could you post the line in /etc/cron.d/ispcp which matches the line above?
Should look like this

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

the "-r" after xargs was added later - it prevents the second error message (rm: missing operand)

what OS do you use?

/J
11-27-2007 09:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
/bin/sh: root: command not found - grungy - 11-27-2007, 09:31 PM
RE: /bin/sh: root: command not found - joximu - 11-27-2007 09:45 PM

Forum Jump:


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