Quote:
01 * * * * root run-parts /etc/cron.hourly
The format does not seem correct.
A crontab file consists of lines of six fields each. The
fields are separated by spaces or tabs. The first five are
integer patterns that specify the following:
01 * * * *
minute (0-59),
hour (0-23),
day of the month (1-31),
month of the year (1-12),
day of the week (0-6 with 0=Sunday).
(This part seems right...if you are trying to run once an hour at 1 minute past the hour)
The sixth field of a line in a crontab file is a string that
is executed by the shell at the specified times. A percent
character in this field (unless escaped by \) is translated
to a NEWLINE character.
This is where you are having a problem - you are putting 'root' as a command or script or executable to run - it isn't as far as the system can tell, hence the error.
What is the program or script or command you are trying to run?
What are you attempting to use /etc/cron.hourly for (the output?)?
If you want to see how it works for a command try this:
01 * * * * date > /tmp/uptodate.tmp
This will put the output of the date command into the tmp file uptodate.tmp and overwrite it every hour.
Read the man page on crontab - you should be able to figure it out from the examples given.