Nathan E Norman wrote:

1. AFAIK, system-wide, package-installed cronjobs are in configutred in Sys-V style in the /etc/cron.* directories and not in a standard user crontab file.



... and said scripts are run via run-parts(8) which is called by
scripts called in /etc/crontab. Have you bothered to examine the
contents of /etc/crontab? If the first three run-parts entries in
/etc/crontab are removed, the relevant scripts in /etc/cron.{daily,
weekly,monthly} will _never_ be run.



...Which sounds to me like over-breaking the system if all you want to do is simply remove a job
or two...
Anyway the way I'd prefer to do it is to simply remove the package that put the job there in the first
place since chances are it wouldn't work witout the cronjob anyway.
The name of the file in /etc/cron.* can hint you to which packge should that be.


2. The right way to configure crontab it to use the contab (1) command.



I prefer crontab(1) :-) contab has some criminal connotations.



Sorry for my typing, it was a long day...


However, you can't configure /etc/crontab or its subordinate
/etc/cron.{daily,weekly,monthly} scripts with crontab(1); you'll have
to use $EDITOR.


On a sidenote: putting export EDITOR=<whatever, try "nano" if unsure...> in your .bashrc comes in handy...

IFireBall.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to