[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cron



Hello all,

On reinstalling, I broke my cron functionality.

Running crontab -e, my file looks like:

# run-parts
01 * * * * root run-parts /etc/cron.hourly/logcheck.sh
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly 

The listed script is in the /etc/cron.hourly directory.

However, I get every hour this message:

/bin/sh: root: command not found

I can run my logcheck script manually in the listed directory, and I also
thought that I could write any shell script, drop it into /etc/cron.hourly, and
edit crontab appropriately.

Thanks for the pointers!
--
****************
*	Adam Getchell
*	acgetchell ucdavis edu
****************
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]