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


Post Reply 
/bin/sh: root: command not found
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #3
RE: /bin/sh: root: command not found
Code:
# Backup
@daily root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log
@daily root /var/www/ispcp/engine/backup/ispcp-backup-ispcp noreport &>/var/log/ispcp/ispcp-backup-all-mngr.log

# 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

# Remove Daemon Logs older than 14 days (except .gz files)
@daily root find /var/log/ispcp/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm

Code:
cat /etc/debian_version
4.0
(This post was last modified: 11-27-2007 09:49 PM by grungy.)
11-27-2007 09:48 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 - grungy - 11-27-2007 09:48 PM

Forum Jump:


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