Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Apr 27, 2010 10:35 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Quote:
/bin/sh:
- this is the originator of the message; a shell that was called through the literal name /bin/sh command tells you that
Quote:
root:

this command
Quote:
not found
doesn't exist in $PATH.

Quote:
02 1 * * * root clamscan -R /var/www

The "username" field exists only in the systemwide crontab (/etc/crontab, /etc/cron.d/*), and this is most probably user's personal crontab, that always executes as him. Thus, cron interprets the word "root" as the first word of command line.

If clamscan needs to be ran as root, move the lines to /etc/crontab.
If he can run as the user that you're currently operating as, remove "root " from the lines.


Top
   
 Post subject:
PostPosted: Tue Apr 27, 2010 1:00 pm 
Offline
Senior Newbie

Joined: Sun Apr 11, 2010 11:56 am
Posts: 15
I got it!
Again thanks for all your time and knowledge sharing. I give you 5 stars + bonus *****@

_________________
Jean


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group