[BlueOnyx:11778] Re: Cron issues

Michael Stauber mstauber at blueonyx.it
Mon Dec 10 15:54:36 -05 2012


Hi Jim,

> /etc/bash: root: command not found

There are two kinds of cronjobs: System cronjobs run through Crond.
They're configured through /etc/crontab and the /etc/cron.* directories.

Secondly there are the user cronjobs. Each user with a shell can run
"crontab -l" (to list) or "crontab -e" (to edit) or "crontab -r" (to
remove) user owned cronjobs.

For user owned cronjobs you don't specify a user as which these cronjobs
are run, because they'll be executed with the UID of the owner who set
them up.

Typically a BlueOnyx does not have any user owned cronjobs. Instead the
cronjobs are defined through /etc/cron.* instead.

This is also where your guy should have stuffed the custom cronjob. So
best thing to do would be to fire up "crontab -r" to remove the custom
cronjob and set it up from within /etc/cron.* instead.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list